public function QuickFormBase::validateForm in farmOS 2.x
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 QuickFormInterface::validateForm
File
- modules/
core/ quick/ src/ Plugin/ QuickForm/ QuickFormBase.php, line 105
Class
- QuickFormBase
- Base class for quick forms.
Namespace
Drupal\farm_quick\Plugin\QuickFormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
// Validation is optional.
}