You are here

function nodequeue_generate_menu in Nodequeue 5.2

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

File

./nodequeue_generate.module, line 3

Code

function nodequeue_generate_menu($may_cache) {
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/content/generate_nodequeue',
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'nodequeue_generate_form',
      ),
      'description' => t('Bulk add nodes into queues'),
      'title' => t('Generate node queue assignments'),
      'access' => user_access('manipulate all queues'),
    );
  }
  return $items;
}