public function ShippingQuoteMethodForm::validateForm in Ubercart 8.4
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
- shipping/
uc_quote/ src/ Form/ ShippingQuoteMethodForm.php, line 94
Class
- ShippingQuoteMethodForm
- Builds the form to edit shipping quote method entities.
Namespace
Drupal\uc_quote\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
parent::validateForm($form, $form_state);
$this->plugin
->validateConfigurationForm($form['settings'], $form_state);
}