You are here

function _workflow_actions_get_trigger_assignments in Workflow 7.2

Get all trigger assignments for workflow.

1 call to _workflow_actions_get_trigger_assignments()
_workflow_actions_get_actions_by_tid in workflow_actions/workflow_actions.module
Gets the actions associated with a given transition.

File

workflow_actions/workflow_actions.module, line 327
Enables actions to be fired upon a Workflow State change.

Code

function _workflow_actions_get_trigger_assignments() {
  $results = db_query('SELECT hook FROM {trigger_assignments} WHERE hook = "workflow"');
  return $results
    ->fetchAll();
}