function jammer_permission in Jammer 7
Implements hook_permission().
File
- ./
jammer.module, line 11 - Modify forms.
Code
function jammer_permission() {
return array(
'view body options' => array(
'title' => t('view body options'),
'description' => t('Override jammer to allow user to view body options.'),
),
'view menu options' => array(
'title' => t('view menu options'),
'description' => t('Override jammer to allow user to view menu options.'),
),
'view author options' => array(
'title' => t('view author options'),
'description' => t('Override jammer to allow user to view author options.'),
),
'view path options' => array(
'title' => t('view path options'),
'description' => t('Override jammer to allow user to view path options.'),
),
'view comment settings' => array(
'title' => t('view comment settings'),
'description' => t('Override jammer to allow user to view comment settings.'),
),
'view revision information' => array(
'title' => t('view revision information'),
'description' => t('Override jammer to allow user to view revision information.'),
),
'view revision log textarea' => array(
'title' => t('view revision log textarea'),
'description' => t('Override jammer to allow user to view revision log textarea.'),
),
'view teaser controls' => array(
'title' => t('view teaser controls'),
'description' => t('Override jammer to allow user to view teaser controls.'),
),
// There is no current version of Workflow for D7.
// 'view workflow tabs' => array(
// 'title' => t('view workflow tabs'),
// 'description' => t('Override jammer to allow user to view workflow tabs.'),
// ),
'view user delete button' => array(
'title' => t('view user delete button'),
'description' => t('Override jammer to allow user to view user delete button.'),
),
'view preview button' => array(
'title' => t('view preview button'),
'description' => t('Override jammer to allow user to view preview button.'),
),
'view comment preview button' => array(
'title' => t('view comment preview button'),
'description' => t('Override jammer to allow user to view comment preview button.'),
),
'view submit button' => array(
'title' => t('view submit button'),
'description' => t('Override jammer to allow user to view submit button.'),
),
'view delete button' => array(
'title' => t('view delete button'),
'description' => t('Override jammer to allow user to view delete button.'),
),
);
}