You are here

public function SubFormState::setSubmitted in Authorization 8

Sets that the form has been submitted.

Return value

$this

Overrides FormStateInterface::setSubmitted

File

src/Form/SubFormState.php, line 717

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

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