You are here

function feed_path_publisher_menu in Feed Path Publisher 6

Same name and namespace in other branches
  1. 5 feed_path_publisher.module \feed_path_publisher_menu()
  2. 7 feed_path_publisher.module \feed_path_publisher_menu()

File

./feed_path_publisher.module, line 3

Code

function feed_path_publisher_menu() {
  $items = array();
  $items['admin/content/feed_path_publisher'] = array(
    'title' => 'Feed path publisher',
    'page callback' => 'feed_path_publisher_list',
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  $items['admin/content/feed_path_publisher/list'] = array(
    'title' => 'List',
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'weight' => -1,
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  $items['admin/content/feed_path_publisher/add'] = array(
    'title' => 'Add',
    'type' => MENU_LOCAL_TASK,
    'page callback' => 'feed_path_publisher_add',
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  $items['admin/content/feed_path_publisher/%/edit'] = array(
    'page callback' => 'feed_path_publisher_edit',
    'page arguments' => array(
      3,
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}