You are here

public function FormStateDecoratorBase::setRebuildInfo in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Form/FormStateDecoratorBase.php \Drupal\Core\Form\FormStateDecoratorBase::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

File

core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 258

Class

FormStateDecoratorBase
Decorates another form state.

Namespace

Drupal\Core\Form

Code

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