function context_layouts_help in Context 6
Same name and namespace in other branches
- 6.3 context_layouts/context_layouts.module \context_layouts_help()
- 7.3 context_layouts/context_layouts.module \context_layouts_help()
Implementation of hook_help().
File
- context_layouts/
context_layouts.module, line 6
Code
function context_layouts_help($path, $arg) {
switch ($path) {
case 'admin/help#context_layouts':
$output = file_get_contents(drupal_get_path('module', 'context_layouts') . '/README.txt');
return module_exists('markdown') ? filter_xss_admin(module_invoke('markdown', 'filter', 'process', 0, -1, $output)) : '<pre>' . check_plain($output) . '</pre>';
}
}