function poormanscron_menu in Poormanscron 5
Same name and namespace in other branches
- 5.2 poormanscron.module \poormanscron_menu()
- 6.2 poormanscron.module \poormanscron_menu()
- 6 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($may_cache) {
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/poormanscron',
'title' => t('Poormanscron'),
'description' => t('A module which runs Drupal cron jobs without the cron application.'),
'callback' => 'drupal_get_form',
'callback arguments' => 'poormanscron_admin_settings',
'access' => user_access('administer site configuration'),
);
}
return $items;
}