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