You are here

public function FormState::getBuildInfo in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::getBuildInfo()

Returns the build info for the form.

Return value

array An array of build info.

Overrides FormStateInterface::getBuildInfo

See also

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

3 calls to FormState::getBuildInfo()
FormState::addBuildInfo in core/lib/Drupal/Core/Form/FormState.php
Adds a value to the build info.
FormState::getCacheableArray in core/lib/Drupal/Core/Form/FormState.php
Returns an array representation of the cacheable portion of the form state.
FormState::loadInclude in core/lib/Drupal/Core/Form/FormState.php
Ensures an include file is loaded whenever the form is processed.

File

core/lib/Drupal/Core/Form/FormState.php, line 947

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function getBuildInfo() {
  return $this->build_info;
}