FormStateInterface::getErrors

public FormStateInterface::getErrors()

Returns an associative array of all errors.

Return value

array An array of all errors, keyed by the name of the form element.

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 524

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function getErrors();
doc_Drupal
2016-10-29 09:16:34
Comments
Leave a Comment

Please login to continue.