You are here

public static function WorkflowManagerInterface::getWorkflowTransitionForm in Workflow 8

Gets the TransitionWidget in a form (for e.g., Workflow History Tab)

Parameters

\Drupal\Core\Entity\EntityInterface $entity:

string $field_name:

array $form_state_additions:

Return value

array The form.

1 method overrides WorkflowManagerInterface::getWorkflowTransitionForm()
WorkflowManager::getWorkflowTransitionForm in src/Entity/WorkflowManager.php
Gets the TransitionWidget in a form (for e.g., Workflow History Tab)

File

src/Entity/WorkflowManagerInterface.php, line 111

Class

WorkflowManagerInterface
Provides an interface for workflow manager.

Namespace

Drupal\workflow\Entity

Code

public static function getWorkflowTransitionForm(EntityInterface $entity, $field_name, array $form_state_additions = []);