You are here

function field_tools_taxonomy_menu in Field tools 7

Implements hook_menu().

File

field_tools_taxonomy/field_tools_taxonomy.module, line 20
field_tools_taxonomy.module Provides a UI for quickly applying a taxonomy to multiple entities as a term reference fields.

Code

function field_tools_taxonomy_menu() {
  $items['admin/structure/taxonomy/%taxonomy_vocabulary_machine_name/apply'] = array(
    'title' => 'Apply',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'field_tools_taxonomy_apply_form',
      3,
    ),
    'file' => 'field_tools_taxonomy.admin.inc',
    'access arguments' => array(
      'administer taxonomy',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
  );
  return $items;
}