You are here

function data_taxonomy_menu in Data 6

Implementation of hook_menu().

File

data_taxonomy/data_taxonomy.module, line 21
Hooks and API functions for Data Node module.

Code

function data_taxonomy_menu() {
  $items = array();
  $items['data-taxonomy/ajax-save'] = array(
    'page callback' => 'data_taxonomy_ajax_save',
    'page arguments' => array(),
    'access arguments' => array(
      'edit data taxonomy relations',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['admin/build/data/edit/%data_ui_table/taxonomy'] = array(
    'title' => 'Relate to taxonomy',
    'description' => 'Administer data tables.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'data_taxonomy_settings_form',
      4,
    ),
    'file' => 'data_taxonomy.admin.inc',
    'access arguments' => array(
      'administer data tables',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}