function scs_menu in Simplenews Content Selection 8
Same name and namespace in other branches
- 6.2 scs.module \scs_menu()
- 6 scs.module \scs_menu()
- 7.2 scs.module \scs_menu()
- 7 scs.module \scs_menu()
Implements hook_menu()
File
- ./
scs.module, line 11 - General hooks and commonly-used functions
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,
);
return $items;
}