function DevelGenerateBase::settingsFormValidate in Devel 8.2
Same name and namespace in other branches
- 8.3 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::settingsFormValidate()
- 8 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::settingsFormValidate()
- 4.x devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::settingsFormValidate()
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 DevelGenerateBaseInterface::settingsFormValidate
1 method overrides DevelGenerateBase::settingsFormValidate()
- ContentDevelGenerate::settingsFormValidate in devel_generate/
src/ Plugin/ DevelGenerate/ ContentDevelGenerate.php - Form validation handler.
File
- devel_generate/
src/ DevelGenerateBase.php, line 74
Class
- DevelGenerateBase
- Provides a base DevelGenerate plugin implementation.
Namespace
Drupal\devel_generateCode
function settingsFormValidate(array $form, FormStateInterface $form_state) {
// Validation is optional.
}