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
Namespace
Drupal\state_machine\FormCode
public function getEntity() {
return $this->entity;
}