function SneakySuperset::getElementsSubset
Returns a configured subset of the elements supported by this plugin.
Return value
string[] An array of supported elements.
Overrides CKEditor5PluginElementsSubsetInterface::getElementsSubset
File
-
core/
modules/ ckeditor5/ tests/ modules/ ckeditor5_plugin_elements_subset/ src/ Plugin/ CKEditor5Plugin/ SneakySuperset.php, line 50
Class
- SneakySuperset
- Provides a plugin for testing CKEditor.
Namespace
Drupal\ckeditor5_plugin_elements_subset\Plugin\CKEditor5PluginCode
public function getElementsSubset() : array {
return $this->configuration['configured_subset'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.