You are here

function simplenews_permission in Simplenews 7

Same name and namespace in other branches
  1. 7.2 simplenews.module \simplenews_permission()

Implements hook_permission().

@todo Change sort order where required: http://drupal.org/node/224333#sorting_permissions

File

./simplenews.module, line 78
Simplenews node handling, sent email, newsletter block and general hooks

Code

function simplenews_permission() {
  return array(
    'administer newsletters' => array(
      'title' => t('Administer newsletters'),
    ),
    'administer simplenews subscriptions' => array(
      'title' => t('Administer simplenews subscriptions'),
    ),
    'administer simplenews settings' => array(
      'title' => t('Administer simplenews settings'),
    ),
    'send newsletter' => array(
      'title' => t('Send newsletter'),
    ),
    'subscribe to newsletters' => array(
      'title' => t('Subscribe to newsletters'),
    ),
  );
}