You are here

public function Markdown::loadPath in Markdown 8.2

Same name and namespace in other branches
  1. 3.0.x src/Markdown.php \Drupal\markdown\Markdown::loadPath()

Overrides MarkdownInterface::loadPath

Deprecated

in markdown:8.x-2.0 and is removed from markdown:3.0.0. Use \Drupal\markdown\MarkdownInterface::loadFile instead.

See also

https://www.drupal.org/project/markdown/issues/3142418

File

src/Markdown.php, line 133

Class

Markdown
Markdown service.

Namespace

Drupal\markdown

Code

public function loadPath($path, $id = NULL, LanguageInterface $language = NULL) {
  return $this
    ->loadFile($path, $id, $language);
}