function linkicon_help in Link Icon 8
Same name and namespace in other branches
- 7 linkicon.module \linkicon_help()
Implements hook_help().
File
- ./
linkicon.module, line 81 - A link field formatter to create icon classes based on predefined titles.
Code
function linkicon_help($route_name) {
if ($route_name == 'help.page.linkicon') {
$output = file_get_contents(dirname(__FILE__) . '/README.md');
return function_exists('blazy_parse_markdown') ? blazy_parse_markdown($output) : '<pre>' . $output . '</pre>';
}
return '';
}