You are here

function workflow_workflow_ng_condition_info in Workflow 5.2

File

contrib/workflow_workflow_ng/workflow_workflow_ng.module, line 47

Code

function workflow_workflow_ng_condition_info() {
  return array(
    'workflow_ng_condition_workflow_transition_is' => array(
      '#label' => t('Workflow Transition is'),
      '#arguments' => array(
        'workflow' => array(
          '#entity' => 'node',
          '#label' => t('Workflow'),
        ),
      ),
      '#description' => t('Evaluates to TRUE, if the workflow being updated is moved from state a to state b'),
      '#module' => t('Workflow'),
    ),
  );
}