You are here

public function ParsedMarkdownInterface::matches in Markdown 3.0.x

Compares whether the provided markdown matches this object.

Parameters

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

Return value

bool TRUE or FALSE

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

File

src/ParsedMarkdownInterface.php, line 149

Class

ParsedMarkdownInterface

Namespace

Drupal\markdown

Code

public function matches($markdown);