public function FormStateInterface::setBuildInfo in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormStateInterface.php \Drupal\Core\Form\FormStateInterface::setBuildInfo()
- 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\FormCode
public function setBuildInfo(array $build_info);