function feed_path_publisher_menu in Feed Path Publisher 7
Same name and namespace in other branches
- 5 feed_path_publisher.module \feed_path_publisher_menu()
- 6 feed_path_publisher.module \feed_path_publisher_menu()
Implements hook_menu().
File
- ./
feed_path_publisher.module, line 6
Code
function feed_path_publisher_menu() {
$items = array();
$items['admin/config/content/feed_path_publisher'] = array(
'title' => 'Feed Path Publisher',
'description' => 'Settings for feeds across the site.',
'page callback' => 'feed_path_publisher_list',
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
);
$items['admin/config/content/feed_path_publisher/list'] = array(
'title' => 'List',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -1,
'access arguments' => array(
'administer site configuration',
),
);
$items['admin/config/content/feed_path_publisher/add'] = array(
'title' => 'Add Feed',
'type' => MENU_LOCAL_TASK,
'page callback' => 'feed_path_publisher_add',
'access arguments' => array(
'administer site configuration',
),
);
$items['admin/config/content/feed_path_publisher/%/edit'] = array(
'page callback' => 'feed_path_publisher_edit',
'page arguments' => array(
4,
),
'access arguments' => array(
'administer site configuration',
),
);
return $items;
}