You are here

function workflow_fields_theme in Workflow Fields 6

Same name and namespace in other branches
  1. 7 workflow_fields.module \workflow_fields_theme()

Implementation of hook_theme().

File

./workflow_fields.module, line 198
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(
      'arguments' => array(
        'form' => NULL,
      ),
    ),
    'workflow_fields_shortcuts' => array(
      'arguments' => array(
        'form' => NULL,
      ),
    ),
  );
}