public function FormStateDecoratorBase::setBuildInfo in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::setBuildInfo()
- 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::setBuildInfo()
Sets the build info for the form.
Parameters
array $build_info: An array of build info.
Return value
$this
Overrides FormStateInterface::setBuildInfo
See also
\Drupal\Core\Form\FormState::$build_info
File
- core/
lib/ Drupal/ Core/ Form/ FormStateDecoratorBase.php, line 471
Class
- FormStateDecoratorBase
- Decorates another form state.
Namespace
Drupal\Core\FormCode
public function setBuildInfo(array $build_info) {
$this->decoratedFormState
->setBuildInfo($build_info);
return $this;
}