interface EntityFormControllerInterface

Defines a common interface for entity form controller classes.

Hierarchy

Expanded class hierarchy of EntityFormControllerInterface

All classes that implement EntityFormControllerInterface

1 file declares its use of EntityFormControllerInterface

File

drupal/core/lib/Drupal/Core/Entity/EntityFormControllerInterface.php, line 16
Contains \Drupal\Core\Entity\EntityFormControllerInterface.

Namespace

Drupal\Core\Entity
View source

Members

Namesort descending Modifiers Type Description Overrides
BaseFormIdInterface::getBaseFormID public function Returns a string identifying the base form. 1
EntityFormControllerInterface::buildEntity public function Builds an updated entity object based upon the submitted form values. 1
EntityFormControllerInterface::getEntity public function Returns the form entity. 1
EntityFormControllerInterface::getFormDisplay public function Returns the form display. 1
EntityFormControllerInterface::getFormLangcode public function Returns the code identifying the active form language. 1
EntityFormControllerInterface::getOperation public function Returns the operation identifying the form controller. 1
EntityFormControllerInterface::isDefaultFormLangcode public function Checks whether the current form language matches the entity one. 1
EntityFormControllerInterface::setEntity public function Sets the form entity. 1
EntityFormControllerInterface::setFormDisplay public function Sets the form display. 1
EntityFormControllerInterface::submit public function Updates the form's entity by processing this submission's values. 1
EntityFormControllerInterface::validate public function Validates the submitted form values of the entity form. 1
FormInterface::buildForm public function Form constructor. 36
FormInterface::getFormID public function Returns a unique string identifying the form. 90
FormInterface::submitForm public function Form submission handler. 55
FormInterface::validateForm public function Form validation handler. 27