function CKEditorPluginConfigurableInterface::settingsForm

Returns a settings form to configure this CKEditor plugin.

If the plugin's behavior depends on extensive options and/or external data, then the implementing module can choose to provide a separate, global configuration page rather than per-text-editor settings. In that case, this form should provide a link to the separate settings page.

Parameters

array $form: An empty form array to be populated with a configuration form, if any.

array $form_state: The state of the entire filter administration form.

\Drupal\editor\Plugin\Core\Entity\Editor $editor: A configured text editor object.

Return value

array|FALSE A render array for the settings form, or FALSE if there is none.

2 methods override CKEditorPluginConfigurableInterface::settingsForm()
LlamaContextualAndButton::settingsForm in drupal/core/modules/ckeditor/tests/modules/lib/Drupal/ckeditor_test/Plugin/CKEditorPlugin/LlamaContextualAndButton.php
Implements \Drupal\ckeditor\Plugin\CKEditorPluginConfigurableInterface::settingsForm().
StylesCombo::settingsForm in drupal/core/modules/ckeditor/lib/Drupal/ckeditor/Plugin/CKEditorPlugin/StylesCombo.php
Implements \Drupal\ckeditor\Plugin\CKEditorPluginConfigurableInterface::settingsForm().

File

drupal/core/modules/ckeditor/lib/Drupal/ckeditor/CKEditorPluginConfigurableInterface.php, line 43
Contains \Drupal\ckeditor\CKEditorPluginConfigurableInterface.

Class

CKEditorPluginConfigurableInterface
Defines an interface for configurable CKEditor plugins.

Namespace

Drupal\ckeditor

Code

function settingsForm(array $form, array &$form_state, Editor $editor);