function FormState::setBuildInfo
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::setBuildInfo()
- 10 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::setBuildInfo()
- 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 964
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\FormCode
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.