You are here

function content_taxonomy_et_menu_alter in Content Taxonomy 7

Implements hook_menu_alter().

File

./content_taxonomy_et.module, line 23
Entity Translation integration for taxonomy terms.

Code

function content_taxonomy_et_menu_alter(&$items) {

  // Localize autocompletes.
  $items['taxonomy/autocomplete']['page callback'] = 'content_taxonomy_et_autocomplete';
  if (isset($items['autocomplete_deluxe/taxonomy'])) {
    $items['autocomplete_deluxe/taxonomy']['page callback'] = 'content_taxonomy_et_autocomplete_deluxe';
  }
}