You are here

public function SubFormState::isSubmitted in Authorization 8

Determines if the form has been submitted.

Return value

bool TRUE if the form has been submitted, FALSE otherwise.

Overrides FormStateInterface::isSubmitted

File

src/Form/SubFormState.php, line 725

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function isSubmitted() : bool {
  return $this->mainFormState
    ->isSubmitted();
}