public function SamlauthConfigureForm::validateForm in SAML Authentication 8
Same name and namespace in other branches
- 8.3 src/Form/SamlauthConfigureForm.php \Drupal\samlauth\Form\SamlauthConfigureForm::validateForm()
- 8.2 src/Form/SamlauthConfigureForm.php \Drupal\samlauth\Form\SamlauthConfigureForm::validateForm()
- 4.x src/Form/SamlauthConfigureForm.php \Drupal\samlauth\Form\SamlauthConfigureForm::validateForm()
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/ SamlauthConfigureForm.php, line 244 - Contains Drupal\samlauth\Form\SamlauthConfigureForm.
Class
- SamlauthConfigureForm
- Class SamlauthConfigureForm.
Namespace
Drupal\samlauth\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
parent::validateForm($form, $form_state);
// @TODO: Validate cert. Might be able to just openssl_x509_parse().
}