function simple_sitemap_help in Simple XML sitemap 4.x
Same name and namespace in other branches
- 8.3 simple_sitemap.module \simple_sitemap_help()
- 8.2 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 23 - 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(__DIR__ . '/README.md')) : NULL;
}