You are here

function spaces_taxonomy_menu in Spaces 7

Same name and namespace in other branches
  1. 6.3 spaces_taxonomy/spaces_taxonomy.module \spaces_taxonomy_menu()
  2. 6 spaces_taxonomy/spaces_taxonomy.module \spaces_taxonomy_menu()
  3. 6.2 spaces_taxonomy/spaces_taxonomy.module \spaces_taxonomy_menu()
  4. 7.3 spaces_taxonomy/spaces_taxonomy.module \spaces_taxonomy_menu()

Implements hook_menu().

File

spaces_taxonomy/spaces_taxonomy.module, line 76
spaces_taxonomy.module

Code

function spaces_taxonomy_menu() {
  $items = array();
  $items['admin/structure/spaces/taxonomy'] = array(
    'title' => 'Taxonomy',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'spaces_taxonomy_settings',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer spaces',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}