You are here

public function StateTransitionForm::getEntity in State Machine 8

Gets the form entity.

Return value

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

Overrides StateTransitionFormInterface::getEntity

1 call to StateTransitionForm::getEntity()
StateTransitionForm::getFormId in src/Form/StateTransitionForm.php
Returns a unique string identifying the form.

File

src/Form/StateTransitionForm.php, line 29

Class

StateTransitionForm

Namespace

Drupal\state_machine\Form

Code

public function getEntity() {
  return $this->entity;
}