function content_type_overview_menu in Content type overview 6
Same name and namespace in other branches
- 7 content_type_overview.module \content_type_overview_menu()
Implementation of hook_menu().
File
- ./
content_type_overview.module, line 13 - Provides easy access to all basic content type settings.
Code
function content_type_overview_menu() {
$items = array();
$items['admin/content/types/overview'] = array(
'title' => 'Overview',
'page callback' => 'content_type_overview_page',
'access arguments' => array(
'administer content types',
),
'file' => 'content_types.inc',
'file path' => drupal_get_path('module', 'node'),
'type' => MENU_LOCAL_TASK,
);
$items['admin/settings/content_type_overview'] = array(
'title' => 'Content type overview',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'content_type_overview_settings_form',
),
'access arguments' => array(
'administer content types',
),
);
return $items;
}