You are here

function poormanscron_menu in Poormanscron 6

Same name and namespace in other branches
  1. 5.2 poormanscron.module \poormanscron_menu()
  2. 5 poormanscron.module \poormanscron_menu()
  3. 6.2 poormanscron.module \poormanscron_menu()

Implmentation of hook_menu().

File

./poormanscron.module, line 82
A module which runs Drupal cron jobs without the cron application.

Code

function poormanscron_menu() {
  $items = array();
  $items['admin/settings/poormanscron'] = array(
    'title' => 'Poormanscron',
    'description' => 'A module which runs Drupal cron jobs without the cron application.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'poormanscron_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'poormanscron.admin.inc',
  );
  return $items;
}