constant FIELD_ROLE_AUTHOR in Workflow Fields 6
Same name and namespace in other branches
- 5 workflow_fields.module \FIELD_ROLE_AUTHOR
@file 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.
2 uses of FIELD_ROLE_AUTHOR
- _workflow_fields_compute_groups in ./
workflow_fields.module - Return an array of rids for the current user, given a node. Include FIELD_ROLE_AUTHOR if the current user is the node author.
- _workflow_fields_state_form_alter in ./
workflow_fields.module - Helper functino to alter the workflow state form. Add a table listing the fields for workflow's content type.
File
- ./
workflow_fields.module, line 10 - 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
define("FIELD_ROLE_AUTHOR", -1);