FormState::setLimitValidationErrors

public FormState::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/FormState.php, line 574

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function setLimitValidationErrors($limit_validation_errors) {
  $this->limit_validation_errors = $limit_validation_errors;
  return $this;
}
doc_Drupal
2016-10-29 09:16:05
Comments
Leave a Comment

Please login to continue.