You are here

public function ClientTestForm::submitForm in OAuth2 Client 8.2

Form submission handler.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides FormInterface::submitForm

File

src/Form/ClientTestForm.php, line 309

Class

ClientTestForm
Defines the form for testing OAuth2 Client integrations.

Namespace

Drupal\oauth2_client\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  $form_state
    ->setRebuild(TRUE);
}