You are here

function workflow_state_ctools_summary in Workflow 7.2

Provide a summary description based upon the workflow state.

1 string reference to 'workflow_state_ctools_summary'
workflow_state.inc in workflow_node/plugins/access/workflow_state.inc
Describes a CTools Access plugin.

File

workflow_node/plugins/access/workflow_state.inc, line 75
Describes a CTools Access plugin.

Code

function workflow_state_ctools_summary($conf, $context) {
  $state = workflow_get_workflow_states_by_sid($conf['workflow_state']);
  return t('Nodes that have the workflow state "@state" in workflow "@workflow"', array(
    '@state' => $state->state,
    '@workflow' => $state->name,
  ));
}