function cookie_content_blocker_help in Cookie Content Blocker 8
Same name and namespace in other branches
- 7 cookie_content_blocker.module \cookie_content_blocker_help()
Implements hook_help().
File
- ./
cookie_content_blocker.module, line 14 - Contains the main module code for Cookie content blocker.
Code
function cookie_content_blocker_help(string $route_name, RouteMatchInterface $route_match) : string {
if ($route_name !== 'help.page.cookie_content_blocker') {
return '';
}
return '<pre>' . file_get_contents(__DIR__ . '/README.md') . '</pre>';
}