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