FormStateDecoratorBase::setLimitValidationErrors

public FormStateDecoratorBase::setLimitValidationErrors($limit_validation_errors)

Sets the limited validation error sections.

Parameters

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

Return value

$this

Overrides FormStateInterface::setLimitValidationErrors

See also

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

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 137

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

public function setLimitValidationErrors($limit_validation_errors) {
  $this->decoratedFormState->setLimitValidationErrors($limit_validation_errors);

  return $this;
}
doc_Drupal
2016-10-29 09:16:25
Comments
Leave a Comment

Please login to continue.