function cookie_content_blocker_help in Cookie Content Blocker 7
Same name and namespace in other branches
- 8 cookie_content_blocker.module \cookie_content_blocker_help()
Implements hook_help().
File
- ./
cookie_content_blocker.module, line 11 - Contains the main module code for Cookie content blocker.
Code
function cookie_content_blocker_help($path, array $arg) {
if ($path !== 'admin/help#cookie_content_blocker') {
return '';
}
$output = file_get_contents(drupal_get_path('module', 'cookie_content_blocker') . '/README.md');
return module_exists('markdown') ? filter_xss_admin(module_invoke('markdown', 'filter', 'process', 0, -1, $output)) : '<pre>' . check_plain($output) . '</pre>';
}