You are here

public function WorkflowScheduledTransition::__construct in Workflow 7.2

Same name and namespace in other branches
  1. 7 includes/Entity/WorkflowScheduledTransition.php \WorkflowScheduledTransition::__construct()

Constructor.

Overrides WorkflowTransition::__construct

File

includes/Entity/WorkflowScheduledTransition.php, line 18
Contains workflow\includes\Entity\WorkflowScheduledTransition.

Class

WorkflowScheduledTransition
Implements a scheduled transition, as shown on Workflow form.

Code

public function __construct(array $values = array(), $entityType = 'WorkflowScheduledTransition') {

  // Please be aware that $entity_type and $entityType are different things!
  parent::__construct($values, $entityType);
  $this->is_scheduled = TRUE;
  $this->is_executed = FALSE;
}