interface AllowedHtmlInterface in Markdown 8.2
Interface for Markdown Allowed HTML plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\markdown\Plugin\Markdown\AllowedHtmlInterface
Expanded class hierarchy of AllowedHtmlInterface
All classes that implement AllowedHtmlInterface
17 files declare their use of AllowedHtmlInterface
- AllowedHtmlManager.php in src/
PluginManager/ AllowedHtmlManager.php - Cmark.php in src/
Plugin/ Markdown/ Pecl/ Cmark.php - CommonMark.php in src/
Plugin/ Markdown/ CommonMark/ CommonMark.php - EmojiExtension.php in src/
Plugin/ Markdown/ CommonMark/ Extension/ EmojiExtension.php - ExternalLinkExtension.php in src/
Plugin/ Markdown/ CommonMark/ Extension/ ExternalLinkExtension.php
File
- src/
Plugin/ Markdown/ AllowedHtmlInterface.php, line 11
Namespace
Drupal\markdown\Plugin\MarkdownView source
interface AllowedHtmlInterface extends PluginInspectionInterface {
/**
* Retrieves the allowed HTML tags.
*
* @param \Drupal\markdown\Plugin\Markdown\ParserInterface $parser
* The parser associated with this plugin.
* @param \Drupal\Core\Theme\ActiveTheme $activeTheme
* Optional. The active them. This is used as an indicator when in
* "render mode".
*
* @return array
* An associative array of allowed HTML tags.
*/
public function allowedHtmlTags(ParserInterface $parser, ActiveTheme $activeTheme = NULL);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AllowedHtmlInterface:: |
public | function | Retrieves the allowed HTML tags. | 11 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |