You are here

public function EditorPluginInterface::settingsFormSubmit 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::settingsFormSubmit()

Modifies any values in the form state to prepare them for saving.

Values in $form_state->getValue(array('editor', 'settings')) are saved by Editor module in editor_form_filter_admin_format_submit().

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::settingsFormSubmit()
EditorBase::settingsFormSubmit in core/modules/editor/src/Plugin/EditorBase.php
Modifies any values in the form state to prepare them for saving.

File

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

Class

EditorPluginInterface
Defines an interface for configurable text editors.

Namespace

Drupal\editor\Plugin

Code

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