You are here

function domain_content_permission in Domain Access 7.3

Same name and namespace in other branches
  1. 7.2 domain_content/domain_content.module \domain_content_permission()

Implements hook_permission().

File

domain_content/domain_content.module, line 87
Editorial overview module.

Code

function domain_content_permission() {
  $permissions = array(
    'access the domain content page' => array(
      'title' => t('Access lists of affiliated content'),
      'description' => t('Allows users to see an overview of content visibile on their assigned domains.'),
    ),
    'review content for all domains' => array(
      'title' => t('Review content for all domains'),
      'description' => t('Allows users to see an overview of all content, listed by domain.'),
      'restrict access' => TRUE,
    ),
  );
  return $permissions;
}