You are here

function pmexpense_permission in Drupal PM (Project Management) 8

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

Implements hook_permission().

File

pmexpense/pmexpense.module, line 25
Hook implementations and main functions for PM Expense.

Code

function pmexpense_permission() {
  return array(
    'Project Management expense: access' => array(
      'title' => t('Access PM Expense'),
      'description' => t('Allows the user to see pages and blocks associated with the PM Expense module, but does not control which expenses are shown within them.'),
    ),
  );
}