You are here

function notifications_content_permission in Notifications 7

Implementation of hook_permission()

File

notifications_content/notifications_content.module, line 77
Subscriptions to content events

Code

function notifications_content_permission() {
  return array(
    'subscribe to content' => array(
      'title' => t('Subscribe to content'),
      'description' => t('Subscribe to content posted or updated.'),
    ),
    'subscribe to content type' => array(
      'title' => t('Subscribe to content type'),
      'description' => t('Subscribe to all content from a content type.'),
    ),
  );
}