You are here

public function StateTransitionFormInterface::getEntity in State Machine 8

Gets the form entity.

Return value

\Drupal\Core\Entity\EntityInterface The form entity.

1 method overrides StateTransitionFormInterface::getEntity()
StateTransitionForm::getEntity in src/Form/StateTransitionForm.php
Gets the form entity.

File

src/Form/StateTransitionFormInterface.php, line 21

Class

StateTransitionFormInterface
Defines the interface for state transition forms.

Namespace

Drupal\state_machine\Form

Code

public function getEntity();