public function FlagListItemForm::validateForm in Flag Lists 8
Same name and namespace in other branches
- 4.0.x src/Form/FlagListItemForm.php \Drupal\flag_lists\Form\FlagListItemForm::validateForm()
Button-level validation handlers are highly discouraged for entity forms, as they will prevent entity validation from running. If the entity is going to be saved during the form submission, this method should be manually invoked from the button-level validation handler, otherwise an exception will be thrown.
Overrides ContentEntityForm::validateForm
File
- src/
Form/ FlagListItemForm.php, line 53
Class
- FlagListItemForm
- Form controller for Flag List Item edit forms.
Namespace
Drupal\flag_lists\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
parent::validateForm($form, $form_state);
}