public function DevelGenerateBase::settingsFormValidate in Devel 4.x
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()
- 8.2 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
2 methods override DevelGenerateBase::settingsFormValidate()
- ContentDevelGenerate::settingsFormValidate in devel_generate/
src/ Plugin/ DevelGenerate/ ContentDevelGenerate.php - Form validation handler.
- MediaDevelGenerate::settingsFormValidate in devel_generate/
src/ Plugin/ DevelGenerate/ MediaDevelGenerate.php - Form validation handler.
File
- devel_generate/
src/ DevelGenerateBase.php, line 75
Class
- DevelGenerateBase
- Provides a base DevelGenerate plugin implementation.
Namespace
Drupal\devel_generateCode
public function settingsFormValidate(array $form, FormStateInterface $form_state) {
// Validation is optional.
}