function DevelGenerateForm::validateForm
Same name in other branches
- 8.x-1.x devel_generate/src/Form/DevelGenerateForm.php \Drupal\devel_generate\Form\DevelGenerateForm::validateForm()
- 5.x devel_generate/src/Form/DevelGenerateForm.php \Drupal\devel_generate\Form\DevelGenerateForm::validateForm()
Overrides FormBase::validateForm
File
-
devel_generate/
src/ Form/ DevelGenerateForm.php, line 92
Class
- DevelGenerateForm
- Defines a form that allows privileged users to generate entities.
Namespace
Drupal\devel_generate\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
$plugin_id = $this->getPluginIdFromRequest();
$instance = $this->getPluginInstance($plugin_id);
$instance->settingsFormValidate($form, $form_state);
}