function markdown_help in Markdown 8.2
Same name and namespace in other branches
- 8 markdown.module \markdown_help()
- 5 markdown.module \markdown_help()
- 6 markdown.module \markdown_help()
- 7.2 markdown.module \markdown_help()
- 7 markdown.module \markdown_help()
- 3.0.x markdown.module \markdown_help()
Implements hook_help().
@noinspection PhpUnused @noinspection PhpDocSignatureInspection @noinspection PhpUnusedParameterInspection @noinspection PhpInconsistentReturnPointsInspection
File
- ./
markdown.module, line 102 - Markdown module.
Code
function markdown_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.markdown':
return Markdown::create()
->loadFile(__DIR__ . '/README.md');
}
}