You are here

public function EditorBase::settingsFormSubmit in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/editor/src/Plugin/EditorBase.php \Drupal\editor\Plugin\EditorBase::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.

Overrides EditorPluginInterface::settingsFormSubmit

1 method overrides EditorBase::settingsFormSubmit()
CKEditor::settingsFormSubmit in core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
Modifies any values in the form state to prepare them for saving.

File

core/modules/editor/src/Plugin/EditorBase.php, line 53
Contains \Drupal\editor\Plugin\EditorBase.

Class

EditorBase
Defines a base class from which other modules providing editors may extend.

Namespace

Drupal\editor\Plugin

Code

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