You are here

function scs_menu in Simplenews Content Selection 8

Same name and namespace in other branches
  1. 6.2 scs.module \scs_menu()
  2. 6 scs.module \scs_menu()
  3. 7.2 scs.module \scs_menu()
  4. 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;
}