You are here

function linkicon_help in Link Icon 7

Same name and namespace in other branches
  1. 8 linkicon.module \linkicon_help()

Implements hook_help().

File

./linkicon.module, line 308
A link field formatter to create icon classes based on predefined titles.

Code

function linkicon_help($path, $arg) {
  if ($path == 'admin/help#linkicon') {
    $output = file_get_contents(dirname(__FILE__) . '/README.md');
    return function_exists('_filter_markdown') ? _filter_markdown($output, NULL) : '<pre>' . $output . '</pre>';
  }
  return '';
}