You are here

function pmteam_permission in Drupal PM (Project Management) 7.3

Same name and namespace in other branches
  1. 8 pmteam/pmteam.module \pmteam_permission()
  2. 7 pmteam/pmteam.module \pmteam_permission()
  3. 7.2 pmteam/pmteam.module \pmteam_permission()

Implements hook_permission().

File

pmteam/pmteam.module, line 25
Main module file for the PM Team module.

Code

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