function workflow_fields_theme in Workflow Fields 7
Same name and namespace in other branches
- 6 workflow_fields.module \workflow_fields_theme()
Implements hook_theme().
File
- ./
workflow_fields.module, line 255 - 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_theme() {
return array(
'workflow_fields_state' => array(
'render element' => 'element',
),
'workflow_fields_shortcuts' => array(
'render element' => 'element',
),
);
}