You are here

function workflow_theme in Workflow 6.2

Same name and namespace in other branches
  1. 8 workflow.module \workflow_theme()
  2. 6 workflow.module \workflow_theme()
  3. 7.2 workflow.module \workflow_theme()
  4. 7 workflow.module \workflow_theme()

Implementation of hook_theme().

File

./workflow.module, line 64
Support workflows made up of arbitrary states.

Code

function workflow_theme() {
  return array(
    'workflow_history_table_row' => array(
      'arguments' => array(
        'history' => NULL,
        'old_state_name' => NULL,
        'state_name' => null,
      ),
    ),
    'workflow_history_table' => array(
      'arguments' => array(
        'rows' => array(),
        'footer' => NULL,
      ),
    ),
    'workflow_current_state' => array(
      'arguments' => array(
        'state_name' => NULL,
      ),
    ),
    'workflow_deleted_state' => array(
      'arguments' => array(
        'state_name' => NULL,
      ),
    ),
  );
}