function FormState::setRebuildInfo

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::setRebuildInfo()
  2. 10 core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::setRebuildInfo()
  3. 11.x core/lib/Drupal/Core/Form/FormState.php \Drupal\Core\Form\FormState::setRebuildInfo()

Overrides FormStateInterface::setRebuildInfo

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 727

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.