public FormState::addRebuildInfo($property, $value)
Adds a value to the rebuild info.
Parameters
string $property: The property to use for the value.
mixed $value: The value to set.
Return value
$this
Overrides FormStateInterface::addRebuildInfo
File
- core/lib/Drupal/Core/Form/FormState.php, line 717
Class
- FormState
- Stores information about the state of a form.
Namespace
Drupal\Core\Form
Code
public function addRebuildInfo($property, $value) { $rebuild_info = $this->getRebuildInfo(); $rebuild_info[$property] = $value; $this->setRebuildInfo($rebuild_info); return $this; }
Please login to continue.