function CKEditor5PluginElementsSubsetInterface::getElementsSubset

Same name in other branches
  1. 10 core/modules/ckeditor5/src/Plugin/CKEditor5PluginElementsSubsetInterface.php \Drupal\ckeditor5\Plugin\CKEditor5PluginElementsSubsetInterface::getElementsSubset()
  2. 11.x core/modules/ckeditor5/src/Plugin/CKEditor5PluginElementsSubsetInterface.php \Drupal\ckeditor5\Plugin\CKEditor5PluginElementsSubsetInterface::getElementsSubset()

Returns a configured subset of the elements supported by this plugin.

Return value

string[] An array of supported elements.

7 methods override CKEditor5PluginElementsSubsetInterface::getElementsSubset()
Alignment::getElementsSubset in core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Alignment.php
Returns a configured subset of the elements supported by this plugin.
Heading::getElementsSubset in core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Heading.php
Returns a configured subset of the elements supported by this plugin.
ListPlugin::getElementsSubset in core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/ListPlugin.php
Returns a configured subset of the elements supported by this plugin.
Media::getElementsSubset in core/modules/ckeditor5/src/Plugin/CKEditor5Plugin/Media.php
Returns a configured subset of the elements supported by this plugin.
SneakySuperset::getElementsSubset in core/modules/ckeditor5/tests/modules/ckeditor5_plugin_elements_subset/src/Plugin/CKEditor5Plugin/SneakySuperset.php
Returns a configured subset of the elements supported by this plugin.

... See full list

File

core/modules/ckeditor5/src/Plugin/CKEditor5PluginElementsSubsetInterface.php, line 23

Class

CKEditor5PluginElementsSubsetInterface
Defines an interface for plugins that can support an elements subset.

Namespace

Drupal\ckeditor5\Plugin

Code

public function getElementsSubset() : array;

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