Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::setBuildInfo()
  2. 9 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::setBuildInfo()

Sets the build info for the form.

Parameters

array $build_info: An array of build info.

Return value

$this

See also

\Drupal\Core\Form\FormState::$build_info

1 method overrides FormStateInterface::setBuildInfo()
FormStateDecoratorBase::setBuildInfo in core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
Sets the build info for the form.

File

core/lib/Drupal/Core/Form/FormStateInterface.php, line 277

Class

FormStateInterface
Provides an interface for an object containing the current state of a form.

Namespace

Drupal\Core\Form

Code

public function setBuildInfo(array $build_info);