function workflow_fields_permission in Workflow Fields 7
Implements hook_permission().
File
- ./
workflow_fields.module, line 26 - 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_permission() {
return array(
'bypass field restrictions' => array(
'title' => t('Bypass Field Restrictions'),
'description' => t('Ignore field restrictions configured with Workflow Fields module.'),
),
);
}