function simple_sitemap_help in Simple XML sitemap 8.2
Same name and namespace in other branches
- 8.3 simple_sitemap.module \simple_sitemap_help()
- 4.x simple_sitemap.module \simple_sitemap_help()
Implements hook_help.
Parameters
$route_name:
\Drupal\Core\Routing\RouteMatchInterface $route_match:
Return value
\Drupal\Component\Render\MarkupInterface|null
File
- ./
simple_sitemap.module, line 21 - Main module file containing hooks.
Code
function simple_sitemap_help($route_name, RouteMatchInterface $route_match) {
return $route_name === 'help.page.simple_sitemap' ? check_markup(file_get_contents(dirname(__FILE__) . "/README.md")) : NULL;
}