You are here

function pmticket_permission in Drupal PM (Project Management) 7.3

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

Implements hook_permission().

File

pmticket/pmticket.module, line 24
Main module file for the PM Ticket module.

Code

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