function EditorHooks::editorFormFilterAdminFormAjax

Same name and namespace in other branches
  1. main core/modules/editor/src/Hook/EditorHooks.php \Drupal\editor\Hook\EditorHooks::editorFormFilterAdminFormAjax()

Ajax callback handler for 'filter_format_form' form.

Parameters

array $form: The form render array.

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

File

core/modules/editor/src/Hook/EditorHooks.php, line 527

Class

EditorHooks
Hook implementations for editor.

Namespace

Drupal\editor\Hook

Code

public function editorFormFilterAdminFormAjax(array $form, FormStateInterface $form_state) : array {
  return $form['editor']['settings'];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.