You are here

public function DevelGenerateBase::settingsFormValidate in Devel 8.3

Same name and namespace in other branches
  1. 8 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

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_generate

Code

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

  // Validation is optional.
}