You are here

function nodequeue_generate_menu in Nodequeue 7.3

Same name and namespace in other branches
  1. 5.2 nodequeue_generate.module \nodequeue_generate_menu()
  2. 6.2 nodequeue_generate.module \nodequeue_generate_menu()
  3. 7.2 nodequeue_generate.module \nodequeue_generate_menu()

Implements hook_menu().

File

./nodequeue_generate.module, line 6

Code

function nodequeue_generate_menu() {
  $items['admin/structure/nodequeue/generate_nodequeue'] = array(
    'title' => 'Generate queue assignments',
    'description' => 'Bulk add nodes into queues',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'nodequeue_generate_form',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'manipulate all queues',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}