function workflow_theme in Workflow 7.2
Same name and namespace in other branches
- 8 workflow.module \workflow_theme()
- 6.2 workflow.module \workflow_theme()
- 6 workflow.module \workflow_theme()
- 7 workflow.module \workflow_theme()
Implements hook_theme().
File
- ./
workflow.module, line 303 - Support workflows made up of arbitrary states.
Code
function workflow_theme() {
return array(
'workflow_history_table_row' => array(
'variables' => array(
'history' => NULL,
'old_state_name' => NULL,
'state_name' => NULL,
),
),
'workflow_history_table' => array(
'variables' => array(
'header' => array(),
'rows' => array(),
'footer' => NULL,
),
),
'workflow_history_current_state' => array(
'variables' => array(
'state_name' => NULL,
'state_system_name' => NULL,
'sid' => NULL,
),
),
'workflow_current_state' => array(
'variables' => array(
'state' => NULL,
'state_system_name' => NULL,
'sid' => NULL,
),
),
'workflow_deleted_state' => array(
'variables' => array(
'state_name' => NULL,
'state_system_name' => NULL,
'sid' => NULL,
),
),
);
}