function EditorPluginInterface::settingsFormValidate

Validates the settings form for an editor.

The contents of the editor settings are located in $form_state['values']['editor']['settings']. Calls to form_error() should reflect this location in the settings form.

Parameters

array $form: An associative array containing the structure of the form.

array $form_state: A reference to a keyed array containing the current state of the form.

1 method overrides EditorPluginInterface::settingsFormValidate()
EditorBase::settingsFormValidate in drupal/core/modules/editor/lib/Drupal/editor/Plugin/EditorBase.php
Implements \Drupal\editor\Plugin\EditPluginInterface::settingsFormValidate().

File

drupal/core/modules/editor/lib/Drupal/editor/Plugin/EditorPluginInterface.php, line 63
Contains \Drupal\editor\Plugin\EditPluginInterface.

Class

EditorPluginInterface
Defines an interface for configurable text editors.

Namespace

Drupal\editor\Plugin

Code

function settingsFormValidate(array $form, array &$form_state);