function scheduler_permission in Scheduler 7
Implements hook_permission().
File
- ./
scheduler.module, line 26 - Scheduler publishes and unpublishes nodes on dates specified by the user.
Code
function scheduler_permission() {
return array(
'administer scheduler' => array(
'title' => t('Administer scheduler'),
'description' => t('Configure scheduler date formats, pop-up calendar, default times, lightweight cron'),
),
'schedule publishing of nodes' => array(
'title' => t('Schedule content publication'),
'description' => t('Allows users to set a start and end time for content publication'),
),
'view scheduled content' => array(
'title' => t('View scheduled content list'),
'description' => t('Allows users to see all content which is scheduled.'),
),
);
}