function newsletter_permission in Newsletter 7
Same name and namespace in other branches
- 7.2 newsletter.module \newsletter_permission()
Implements hook_permission().
File
- ./
newsletter.module, line 308 - Defines menu items for newsletter administration, permissions and basic drupal hooks.
Code
function newsletter_permission() {
$permissions = array();
$permissions['administer newsletters'] = array(
'title' => t('Administer newsletters'),
'description' => t('Access the newsletter administration pages.'),
);
$permissions['subscribe newsletters'] = array(
'title' => t('Subscribe newsletters'),
'description' => t('Can subscribe to various newsletter lists.'),
);
$permissions['access newsletter statistics'] = array(
'title' => t('Access newsletter statistics'),
'description' => t('Access the newsletter statistics pages.'),
);
return $permissions;
}