function FormStateInterface::setBuildInfo

Same name in other branches
  1. 9 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::setBuildInfo()
  2. 10 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::setBuildInfo()
  3. 11.x 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

2 methods override FormStateInterface::setBuildInfo()
FormState::setBuildInfo in core/lib/Drupal/Core/Form/FormState.php
Sets the build info for the form.
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 232

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);

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