function scs_menu in Simplenews Content Selection 7
Same name and namespace in other branches
- 8 scs.module \scs_menu()
- 6.2 scs.module \scs_menu()
- 6 scs.module \scs_menu()
- 7.2 scs.module \scs_menu()
Implements hook_menu()
File
- ./
scs.module, line 18 - Select Drupal content to create a newsletter
Code
function scs_menu() {
$items = array();
$items['admin/config/services/simplenews/settings/scs'] = array(
'title' => 'Simplenews Content Selection',
'description' => 'Configure what node types could be used for SCS',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'scs_admin_settings_form',
),
'access arguments' => array(
'administer scs',
),
'file' => 'scs.admin.inc',
'type' => MENU_LOCAL_TASK,
);
$items['admin/content/scs_node_selection'] = array(
'title' => 'Create newsletter from content',
'description' => 'Select nodes to create a newsletter',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'scs_node_selection',
),
'access arguments' => array(
'scs create newsletter',
),
'type' => MENU_LOCAL_TASK,
);
return $items;
}