function CKEditor5PluginManagerInterface::findPluginSupportingElement
Same name in other branches
- 10 core/modules/ckeditor5/src/Plugin/CKEditor5PluginManagerInterface.php \Drupal\ckeditor5\Plugin\CKEditor5PluginManagerInterface::findPluginSupportingElement()
- 11.x core/modules/ckeditor5/src/Plugin/CKEditor5PluginManagerInterface.php \Drupal\ckeditor5\Plugin\CKEditor5PluginManagerInterface::findPluginSupportingElement()
Searches for CKEditor 5 plugin that supports a given tag.
Parameters
string $tag: The HTML tag to be searched for within plugin definitions.
Return value
string|null The ID of the plugin that supports the given tag.
1 method overrides CKEditor5PluginManagerInterface::findPluginSupportingElement()
- CKEditor5PluginManager::findPluginSupportingElement in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginManager.php - Searches for CKEditor 5 plugin that supports a given tag.
File
-
core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5PluginManagerInterface.php, line 81
Class
- CKEditor5PluginManagerInterface
- Provides the interface for a plugin manager of CKEditor 5 plugins.
Namespace
Drupal\ckeditor5\PluginCode
public function findPluginSupportingElement(string $tag) : ?string;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.