function pmproject_permission in Drupal PM (Project Management) 7.2
Same name and namespace in other branches
- 8 pmproject/pmproject.module \pmproject_permission()
- 7.3 pmproject/pmproject.module \pmproject_permission()
- 7 pmproject/pmproject.module \pmproject_permission()
Implements hook_permission().
File
- pmproject/
pmproject.module, line 25 - Main module file for the PM Project module.
Code
function pmproject_permission() {
$name = 'Project Management Project';
return array(
"Project Management Project: 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,
)),
),
);
}