public function EntityFormControllerInterface::submit

Updates the form's entity by processing this submission's values.

Note: Before this can be safely invoked the entity form must have passed validation, i.e. only add this as form #submit handler if validation is added as well.

Parameters

array $form: A nested array form elements comprising the form.

array $form_state: An associative array containing the current state of the form.

1 method overrides EntityFormControllerInterface::submit()

File

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

Class

EntityFormControllerInterface
Defines a common interface for entity form controller classes.

Namespace

Drupal\Core\Entity

Code

public function submit(array $form, array &$form_state);