You are here

public function WorkflowTransitionForm::__construct in Workflow 7.2

Constructs a WorkflowTransitionForm object.

Parameters

array $field:

array $instance:

$entity_type:

$entity:

File

includes/Form/WorkflowTransitionForm.php, line 27
Contains \workflow\Form\WorkflowTransitionForm.

Class

WorkflowTransitionForm
Provides a Transition Form to be used in the Workflow Widget.

Code

public function __construct(array $field, array $instance, $entity_type, $entity) {
  $this->field = $field;

  // TODO : needed?
  $this->instance = $instance;

  // TODO : needed?
  $this->entity = $entity;

  // TODO : needed?
  $this->entity_type = $entity_type;

  // TODO : needed?
}