public function EntityFormControllerInterface::validate

Validates the submitted form values of the entity form.

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::validate()

File

drupal/core/lib/Drupal/Core/Entity/EntityFormControllerInterface.php, line 121
Definition of Drupal\Core\Entity\EntityFormControllerInterface.

Class

EntityFormControllerInterface
Defines a common interface for entity form controller classes.

Namespace

Drupal\Core\Entity

Code

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