You are here

public function Oauth2ClientPluginList::submitForm in OAuth2 Client 8.3

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/Oauth2ClientPluginList.php, line 86

Class

Oauth2ClientPluginList
Provides a OAuth2 Client form.

Namespace

Drupal\oauth2_client\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {

  // This method is never called and is here for interface compatibility.
  $this
    ->messenger()
    ->addStatus($this
    ->t('To configure a client, click the "Configure" button.'));
}