You are here

function pmtask_permission in Drupal PM (Project Management) 7.2

Same name and namespace in other branches
  1. 8 pmtask/pmtask.module \pmtask_permission()
  2. 7.3 pmtask/pmtask.module \pmtask_permission()
  3. 7 pmtask/pmtask.module \pmtask_permission()

Implements hook_permission().

File

pmtask/pmtask.module, line 25
Hook implementations for PM Task.

Code

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