You are here

public function ParsedMarkdownInterface::matches in Markdown 8.2

Compares whether the provided markdown matches this object.

Parameters

string|\Drupal\markdown\Render\ParsedMarkdownInterface $markdown: An external markdown source.

Return value

bool TRUE or FALSE

1 method overrides ParsedMarkdownInterface::matches()
ParsedMarkdown::matches in src/Render/ParsedMarkdown.php
Compares whether the provided markdown matches this object.

File

src/Render/ParsedMarkdownInterface.php, line 123

Class

ParsedMarkdownInterface
Interface parsed markdown instances.

Namespace

Drupal\markdown\Render

Code

public function matches($markdown);