You are here

public function AllowedHtmlInterface::allowedHtmlTags in Markdown 8.2

Retrieves the allowed HTML tags.

Parameters

\Drupal\markdown\Plugin\Markdown\ParserInterface $parser: The parser associated with this plugin.

\Drupal\Core\Theme\ActiveTheme $activeTheme: Optional. The active them. This is used as an indicator when in "render mode".

Return value

array An associative array of allowed HTML tags.

11 methods override AllowedHtmlInterface::allowedHtmlTags()
EmojiExtension::allowedHtmlTags in src/Plugin/Markdown/CommonMark/Extension/EmojiExtension.php
Retrieves the allowed HTML tags.
ExternalLinkExtension::allowedHtmlTags in src/Plugin/Markdown/CommonMark/Extension/ExternalLinkExtension.php
Retrieves the allowed HTML tags.
FilterAlign::allowedHtmlTags in src/Plugin/Markdown/AllowedHtml/FilterAlign.php
Retrieves the allowed HTML tags.
FilterCaption::allowedHtmlTags in src/Plugin/Markdown/AllowedHtml/FilterCaption.php
Retrieves the allowed HTML tags.
FootnoteExtension::allowedHtmlTags in src/Plugin/Markdown/CommonMark/Extension/FootnoteExtension.php
Retrieves the allowed HTML tags.

... See full list

File

src/Plugin/Markdown/AllowedHtmlInterface.php, line 25

Class

AllowedHtmlInterface
Interface for Markdown Allowed HTML plugins.

Namespace

Drupal\markdown\Plugin\Markdown

Code

public function allowedHtmlTags(ParserInterface $parser, ActiveTheme $activeTheme = NULL);