You are here

function _workflow_test_entity2 in Workflow 7.2

File

./workflow.test.inc, line 123
Contains test functions.

Code

function _workflow_test_entity2() {
  $w = workflow_load('test');
  dpm($w);
  dpm($w
    ->getTransitions());
  return;
  $ts = entity_load('WorkflowConfigTransition', array(
    6,
  ));
  $t = reset($ts);
  $t->roles += array(
    3 => 3,
  );
  entity_save('WorkflowConfigTransition', $t);
}