You are here

public function SubFormState::addBuildInfo in Authorization 8

Adds a value to the build info.

Parameters

string $property: The property to use for the value.

mixed $value: The value to set.

Return value

$this

Overrides FormStateInterface::addBuildInfo

File

src/Form/SubFormState.php, line 258

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function addBuildInfo($property, $value) {
  $this->mainFormState
    ->addBuildInfo($property, $value);
  return $this;
}