You are here

public function FormStateInterface::setBuildInfo in Drupal 8

Same name and namespace 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()

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