function workflow_fields_menu in Workflow Fields 6
Same name and namespace in other branches
- 5 workflow_fields.module \workflow_fields_menu()
- 7 workflow_fields.module \workflow_fields_menu()
Implementation of hook_menu().
File
- ./
workflow_fields.module, line 459 - This module adds to workflow.module the ability to specify, for each state, which node fields should be visible and/or editable. It is a useful feature when workflows demand that certain information be hidden or read-only to certain roles.
Code
function workflow_fields_menu() {
$items['admin/settings/workflow_fields'] = array(
'title' => 'Workflow Fields settings',
'description' => 'Global settings for the behaviour of Workflow Fields.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'workflow_fields_settings',
),
'access arguments' => array(
'administer workflow',
),
);
return $items;
}