function pmteam_permission in Drupal PM (Project Management) 8
Same name and namespace in other branches
- 7.3 pmteam/pmteam.module \pmteam_permission()
- 7 pmteam/pmteam.module \pmteam_permission()
- 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,
)),
),
);
}