function CKEditor5PluginManagerInterface::findPluginSupportingElement

Same name in other branches
  1. 9 core/modules/ckeditor5/src/Plugin/CKEditor5PluginManagerInterface.php \Drupal\ckeditor5\Plugin\CKEditor5PluginManagerInterface::findPluginSupportingElement()
  2. 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.

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;

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