You are here

public function CKEditor5PluginElementsSubsetInterface::getElementsSubset in Drupal 10

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

Return value

string[] An array of supported elements.

1 method overrides CKEditor5PluginElementsSubsetInterface::getElementsSubset()
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.

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;