You are here

public function EditorPluginInterface::settingsFormValidate in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/editor/src/Plugin/EditorPluginInterface.php \Drupal\editor\Plugin\EditorPluginInterface::settingsFormValidate()

Validates the settings form for an editor.

The contents of the editor settings are located in $form_state->getValue(array('editor', 'settings')). Calls to $form_state->setError() should reflect this location in the settings form.

Parameters

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

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

1 method overrides EditorPluginInterface::settingsFormValidate()
EditorBase::settingsFormValidate in core/modules/editor/src/Plugin/EditorBase.php
Validates the settings form for an editor.

File

core/modules/editor/src/Plugin/EditorPluginInterface.php, line 68
Contains \Drupal\editor\Plugin\EditorPluginInterface.

Class

EditorPluginInterface
Defines an interface for configurable text editors.

Namespace

Drupal\editor\Plugin

Code

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