You are here

function pmorganization_permission in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 pmorganization/pmorganization.module \pmorganization_permission()
  2. 7 pmorganization/pmorganization.module \pmorganization_permission()
  3. 7.2 pmorganization/pmorganization.module \pmorganization_permission()

Implements hook_permission().

File

pmorganization/pmorganization.module, line 25
Main module file for PM Organization.

Code

function pmorganization_permission() {
  $name = 'Project Management Organization';
  return array(
    "Project Management Organization: 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,
      )),
    ),
  );
}