public function FormStateInterface::setBuildInfo in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::setBuildInfo()
- 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 232
Class
- FormStateInterface
- Provides an interface for an object containing the current state of a form.
Namespace
Drupal\Core\FormCode
public function setBuildInfo(array $build_info);