You are here

public function FormStateDecoratorBase::setBuildInfo in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::setBuildInfo()
  2. 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\Form

Code

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