You are here

public function SubFormState::setBuildInfo in Authorization 8

Sets the build info for the form.

Parameters

array $build_info: An array of build info.

Return value

$this

Overrides FormStateInterface::setBuildInfo

See also

\Drupal\Core\Form\FormState::$build_info

File

src/Form/SubFormState.php, line 243

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function setBuildInfo(array $build_info) {
  $this->mainFormState
    ->setBuildInfo($build_info);
  return $this;
}