function blazy_ui_help in Blazy 7
Same name and namespace in other branches
- 8.2 blazy_ui/blazy_ui.module \blazy_ui_help()
Implements hook_help().
File
- modules/
blazy_ui/ blazy_ui.module, line 93 - Provides the Blazy UI.
Code
function blazy_ui_help($path, $arg) {
if ($path == 'admin/help#blazy_ui') {
$output = file_get_contents(dirname(dirname(dirname(__FILE__))) . '/docs/README.md');
$output .= file_get_contents(dirname(dirname(dirname(__FILE__))) . '/docs/FAQ.md');
$output .= file_get_contents(dirname(dirname(dirname(__FILE__))) . '/docs/UPDATING.md');
$output .= file_get_contents(dirname(dirname(dirname(__FILE__))) . '/docs/TROUBLESHOOTING.md');
$output .= file_get_contents(dirname(dirname(dirname(__FILE__))) . '/docs/CONTRIBUTION.md');
$output .= file_get_contents(dirname(dirname(dirname(__FILE__))) . '/docs/ASPECT_RATIO.md');
$output .= file_get_contents(dirname(dirname(dirname(__FILE__))) . '/docs/ISSUE_TEMPLATE.md');
return function_exists('_filter_markdown') ? _filter_markdown($output, NULL) : '<pre>' . $output . '</pre>';
}
return '';
}