You are here

public function DemoAdminSettings::validateForm in Demonstration site (Sandbox / Snapshot) 8

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 FormBase::validateForm

File

src/Form/DemoAdminSettings.php, line 61

Class

DemoAdminSettings
This class will return the form demo_admin_settings.

Namespace

Drupal\demo\Form

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
}