You are here

function pmissue_permission in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 pmissue/pmissue.module \pmissue_permission()
  2. 7.2 pmissue/pmissue.module \pmissue_permission()

Implements hook_permission().

File

pmissue/pmissue.module, line 25
Hook implementations for PM Issue.

Code

function pmissue_permission() {
  $name = 'Project Management Issue';
  return array(
    "Project Management Issue: access" => array(
      'title' => t('Access %type_name.', array(
        '%type_name' => $name,
      )),
      'description' => t('Allows the user to see pages and blocks associated with the %type_name, but does not control specific item that is shown within them.', array(
        '%type_name' => $name,
      )),
    ),
  );
}