function elysia_cron_menu in Elysia Cron 5
Same name and namespace in other branches
- 5.2 elysia_cron.module \elysia_cron_menu()
- 6.2 elysia_cron.module \elysia_cron_menu()
- 6 elysia_cron.module \elysia_cron_menu()
- 7.2 elysia_cron.module \elysia_cron_menu()
- 7 elysia_cron.module \elysia_cron_menu()
File
- ./
elysia_cron.module, line 54
Code
function elysia_cron_menu($_dcr_maycache = true) {
$items = array();
$items['admin/config/system/cron'] = array(
'title' => 'Cron Settings',
'description' => 'View and manage cron table',
'page callback' => 'elysia_cron_admin_page',
'access arguments' => array(
'administer elysia_cron',
),
);
$items['admin/config/system/cron/status'] = array(
'type' => MENU_DEFAULT_LOCAL_TASK,
'title' => 'Status',
'weight' => 1,
);
$items['admin/config/system/cron/settings'] = array(
'type' => MENU_LOCAL_TASK,
'title' => 'Settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'elysia_cron_settings_form',
),
'access arguments' => array(
'administer elysia_cron',
),
'weight' => 2,
);
$items['admin/config/system/cron/maintenance'] = array(
'type' => MENU_LOCAL_TASK,
'title' => 'Maintenance',
'page callback' => 'elysia_cron_maintenance_page',
'access arguments' => array(
'administer elysia_cron',
),
'weight' => 3,
);
$items['admin/config/system/cron/execute'] = array(
'type' => MENU_CALLBACK,
'page callback' => 'elysia_cron_execute_page',
'access arguments' => array(
'administer elysia_cron',
),
);
$items['admin/build/cron/ping'] = array(
'type' => MENU_CALLBACK,
'page callback' => 'elysia_cron_ping_page',
'access callback' => TRUE,
);
return _dcf_hook_menu($items, $_dcr_maycache);
}