You are here

public static function CommonHookHandler::hookMenu in Node expire 7.2

Implements hook_menu().

1 call to CommonHookHandler::hookMenu()
node_expire_menu in ./node_expire.module
Implements hook_menu().

File

src/Module/Hook/CommonHookHandler.php, line 55
CommonHookHandler class.

Class

CommonHookHandler
CommonHookHandler class.

Namespace

Drupal\node_expire\Module\Hook

Code

public static function hookMenu() {
  $items['admin/config/workflow/node_expire/settings'] = array(
    'title' => 'Node Expire',
    'description' => 'Configure node expire settings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'node_expire_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'node_expire.admin.inc',
    'weight' => 2,
  );
  return $items;
}