You are here

public function FormState::setRebuildInfo in Drupal 9

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

Sets the rebuild info.

Parameters

array $rebuild_info: The rebuild info.

Return value

$this

Overrides FormStateInterface::setRebuildInfo

See also

\Drupal\Core\Form\FormState::$rebuild_info

1 call to FormState::setRebuildInfo()
FormState::addRebuildInfo in core/lib/Drupal/Core/Form/FormState.php
Adds a value to the rebuild info.

File

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

Class

FormState
Stores information about the state of a form.

Namespace

Drupal\Core\Form

Code

public function setRebuildInfo(array $rebuild_info) {
  $this->rebuild_info = $rebuild_info;
  return $this;
}