You are here

constant FIELD_ROLE_AUTHOR in Workflow Fields 5

Same name and namespace in other branches
  1. 6 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.

1 use 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.

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);