You are here

public function SubFormState::setRebuild in Authorization 8

Sets the form to be rebuilt after processing.

Parameters

bool $rebuild: (optional) Whether the form should be rebuilt or not. Defaults to TRUE.

Return value

$this

Overrides FormStateInterface::setRebuild

File

src/Form/SubFormState.php, line 395

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function setRebuild($rebuild = TRUE) {
  $this->mainFormState
    ->setRebuild($rebuild);
  return $this;
}