You are here

public function MarkdownParserInterface::setAllowedTags in Markdown 3.0.x

Sets the allowed HTML tags.

Parameters

array $tags: The allowed HTML tags.

Return value

static

1 method overrides MarkdownParserInterface::setAllowedTags()
BaseParser::setAllowedTags in src/Plugin/Markdown/BaseParser.php
Sets the allowed HTML tags.

File

src/Plugin/Markdown/MarkdownParserInterface.php, line 189

Class

MarkdownParserInterface
Interface MarkdownInterface.

Namespace

Drupal\markdown\Plugin\Markdown

Code

public function setAllowedTags(array $tags = []);