function FormState::setBuildInfo

Same name in other branches
  1. 9 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::setBuildInfo()
  2. 8.9.x core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::setBuildInfo()
  3. 11.x core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::setBuildInfo()

Overrides FormStateInterface::setBuildInfo

2 calls to FormState::setBuildInfo()
FormState::addBuildInfo in core/lib/Drupal/Core/Form/FormState.php
Adds a value to the build info.
FormState::loadInclude in core/lib/Drupal/Core/Form/FormState.php
Ensures an include file is loaded whenever the form is processed.

File

core/lib/Drupal/Core/Form/FormState.php, line 986

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function setBuildInfo(array $build_info) {
    $this->build_info = $build_info;
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.