public function KeyPluginDeleteFormInterface::validateDeleteForm in Key 8
Form validation handler.
Allows a plugin to perform additional validation to the form.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the complete form.
File
- src/
Plugin/ KeyPluginDeleteFormInterface.php, line 39
Class
- KeyPluginDeleteFormInterface
- Provides an interface for plugins that integrate with the delete form.
Namespace
Drupal\key\PluginCode
public function validateDeleteForm(array &$form, FormStateInterface $form_state);