public function Oauth2ClientPluginConfigForm::validateForm in OAuth2 Client 8.3
Form validation 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 FormBase::validateForm
File
- src/
Form/ Oauth2ClientPluginConfigForm.php, line 104
Class
- Oauth2ClientPluginConfigForm
- Configure OAuth2 Client settings for this site.
Namespace
Drupal\oauth2_client\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
$subformState = SubformState::createForSubform($form['plugin'], $form, $form_state);
$this->plugin
->validateConfigurationForm($form['plugin'], $subformState);
parent::validateForm($form, $form_state);
}