You are here

function DevelGenerateBase::settingsFormValidate in Devel 8

Same name and namespace in other branches
  1. 8.3 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::settingsFormValidate()
  2. 8.2 devel_generate/src/DevelGenerateBase.php \Drupal\devel_generate\DevelGenerateBase::settingsFormValidate()
  3. 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 66

Class

DevelGenerateBase
Provides a base DevelGenerate plugin implementation.

Namespace

Drupal\devel_generate

Code

function settingsFormValidate(array $form, FormStateInterface $form_state) {

  // Validation is optional.
}