You are here

function taxonomy_term_depth_menu in Taxonomy Term Depth 7

Implements hook_menu()

File

./taxonomy_term_depth.module, line 201
Provides some custom functionality.

Code

function taxonomy_term_depth_menu() {
  $items = array();
  $items['admin/structure/taxonomy/taxonomy_term_depth_update'] = array(
    'title' => 'Rebuild all taxonomy term depths',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'taxonomy_term_depth_batch_depth_update_form',
    ),
    'access arguments' => array(
      'administer taxonomy',
    ),
    'file' => 'taxonomy_term_depth.batch.inc',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}