function elysia_cron_permission in Elysia Cron 7.2
Same name and namespace in other branches
- 5.2 elysia_cron.module \elysia_cron_permission()
- 5 elysia_cron.module \elysia_cron_permission()
- 6.2 elysia_cron.module \elysia_cron_permission()
- 6 elysia_cron.module \elysia_cron_permission()
- 7 elysia_cron.module \elysia_cron_permission()
Implements hook_permission().
File
- ./
elysia_cron.module, line 112
Code
function elysia_cron_permission() {
return array(
'administer elysia_cron' => array(
'title' => t('Administer elysia cron'),
'description' => t('Perform changes to cron jobs timings, disable cron or single jobs and access cron execution statistics'),
'restrict access' => TRUE,
),
'execute elysia_cron' => array(
'title' => t('Execute elysia cron jobs'),
'description' => t('Allow users to view statistics, execution status and do manually execute cron jobs'),
),
'view elysia_cron' => array(
'title' => t('View elysia cron stats'),
'description' => t('Allows users to view statistics and execution status of cron jobs'),
),
);
}