You are here

function data_search_menu in Data 6

Same name and namespace in other branches
  1. 8 data_search/data_search.module \data_search_menu()
  2. 7 data_search/data_search.module \data_search_menu()

Implementation of hook_menu()

File

data_search/data_search.module, line 6

Code

function data_search_menu() {
  $items = array();
  $items['admin/build/data/edit/%data_ui_table/search'] = array(
    'title' => 'Configure search',
    'description' => 'Administer data tables.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'data_search_admin_form',
      4,
    ),
    'file' => 'data_search.admin.inc',
    'access arguments' => array(
      'administer data tables',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}