You are here

public function SubFormState::isProgrammed in Authorization 8

Returns if this form was submitted programmatically.

Return value

bool If TRUE, the form was submitted programmatically.

Overrides FormStateInterface::isProgrammed

File

src/Form/SubFormState.php, line 657

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function isProgrammed() {
  return $this->mainFormState
    ->isProgrammed();
}