You are here

function markdown_help in Markdown 3.0.x

Same name and namespace in other branches
  1. 8.2 markdown.module \markdown_help()
  2. 8 markdown.module \markdown_help()
  3. 5 markdown.module \markdown_help()
  4. 6 markdown.module \markdown_help()
  5. 7.2 markdown.module \markdown_help()
  6. 7 markdown.module \markdown_help()

Implements hook_help().

File

./markdown.module, line 18
Markdown module.

Code

function markdown_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.markdown':
      return Markdown::loadPath($route_name, __DIR__ . '/README.md');
  }
}