You are here

public function CKEditor5PluginManagerInterface::findPluginSupportingElement in Drupal 10

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\Plugin

Code

public function findPluginSupportingElement(string $tag) : ?string;