8.3.x FormStateInterface.php public FormStateInterface::setLimitValidationErrors($limit_validation_errors)
8.0.x FormStateInterface.php public FormStateInterface::setLimitValidationErrors($limit_validation_errors)
8.1.x FormStateInterface.php public FormStateInterface::setLimitValidationErrors($limit_validation_errors)
8.2.x FormStateInterface.php public FormStateInterface::setLimitValidationErrors($limit_validation_errors)
8.4.x FormStateInterface.php public FormStateInterface::setLimitValidationErrors($limit_validation_errors)

Sets the limited validation error sections.

Parameters

array|null $limit_validation_errors: The limited validation error sections.

Return value

$this

See also

\Drupal\Core\Form\FormState::$limit_validation_errors

1 method overrides FormStateInterface::setLimitValidationErrors()
FormState::setLimitValidationErrors in core/lib/Drupal/Core/Form/FormState.php
Sets the limited validation error sections.

File

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

Class

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

Namespace

Drupal\Core\Form

Code

public function setLimitValidationErrors($limit_validation_errors);