Bootstrap subtheme - theme_menu_link(array $variables) not reacting I'm using the Bootstrap theme and I've successfuly created a bootstrap subtheme that I named bootstrapdreve

I've already overidded successfully two templates, but now I'm facing a problem I'm stuck for hours on.

I wanted to overide the bootstrap_menu_link theming function located in bootstrap/theme/menu/. 
So I copied it into my 

bootstrapdreve/template.php 


and renamed it 

function bootstrapdreve_menu_link(array $variables)


Before bringing my adaptations I set a dsm('test'); on first line:

function bootstrapdreve_menu_link(array $variables) {
  dsm('test');
  $element = $variables['element'];
  $sub_menu = '';

  if ($element['#below']) {
    // Prevent dropdown functions from being added to management menu so it
    // does not affect the navbar module.
    if (($element['#original_link']['menu_name'] == 'management') &amp;&amp; (module_exists('navbar'))) {
      $sub_menu = drupal_render($element['#below']);
    }
    elseif ((!empty($element['#original_link']['depth'])) &amp;&amp; ($element['#original_link']['depth'] == 1)) {
      // Add our own wrapper.
      unset($element['#below']['#theme_wrappers']);
      $sub_menu = '&lt;ul class="dropdown-menu"&gt;' . drupal_render($element['#below']) . '&lt;/ul&gt;';
      // Generate as standard dropdown.
      $element['#title'] .= ' &lt;span class="caret"&gt;&lt;/span&gt;';
      $element['#attributes']['class'][] = 'dropdown';
      $element['#localized_options']['html'] = TRUE;

      // Set dropdown trigger element to # to prevent inadvertant page loading
      // when a submenu link is clicked.
      $element['#localized_options']['attributes']['data-target'] = '#';
      $element['#localized_options']['attributes']['class'][] = 'dropdown-toggle';
      $element['#localized_options']['attributes']['data-toggle'] = 'dropdown';
    }
  }
  // On primary navigation menu, class 'active' is not set on active menu item.
  // @see https://drupal.org/node/1896674
  if (($element['#href'] == $_GET['q'] || ($element['#href'] == '&lt;front&gt;' &amp;&amp; drupal_is_front_page())) &amp;&amp; (empty($element['#localized_options']['language']))) {
    $element['#attributes']['class'][] = 'active';
  }
  $output = l($element['#title'], $element['#href'], $element['#localized_options']);
  return '&lt;li' . drupal_attributes($element['#attributes']) . '&gt;' . $output . $sub_menu . "&lt;/li&gt;\n";
}


... and nothing's displayed

I've followed the idea given by this subtheme preprocess functions inheritance post by creating this structure:

bootstrapdreve/theme/menu/menu-link.func.php


and by setting also a dsm('test'); at first line of code...

Still no message... and thus as I interpret it no execution of this function...

I don't understand why. Could you please help me find why this theming function overiding doesn't work ?

Rem.: There's no problem with the dsm(), I've tried to put one at top of bootstrapdreve/template.php and it works fine...

Rem. 2: I've offcourse cleared the cache at every modification I made
I maintain a Bootstrap subtheme that I use for most of my projects and I override theme_menu_link() in my subtheme using the same method with no problem:

/**
 * Overrides bootstrap_menu_link().
 *
 * Resets theme_menu_link() to the default that ships with Drupal. Bootstrap
 * attempts to make every menu with children into a dropdown menu. Remove this
 * function if you want drop down links.
 */
function bootstrap_ignitor_menu_link(array $variables) {
  $element = $variables['element'];
  $sub_menu = '';
  if ($element['#below']) {
    $sub_menu = drupal_render($element['#below']);
  }
  $output = l($element['#title'], $element['#href'], $element['#localized_options']);
  return '&lt;li' . drupal_attributes($element['#attributes']) . '&gt;' . $output . $sub_menu . "&lt;/li&gt;\n";
}


You must have a problem somewhere else.