function fontawesome_help in Font Awesome Icons 7
Same name and namespace in other branches
- 8.2 fontawesome.module \fontawesome_help()
- 8 fontawesome.module \fontawesome_help()
- 7.3 fontawesome.module \fontawesome_help()
- 7.2 fontawesome.module \fontawesome_help()
Implements hook_help().
File
- ./
fontawesome.module, line 17 - fontawesome.module Drupal integration with Font Awesome, the iconic font for use with Bootstrap.
Code
function fontawesome_help($path, $arg) {
switch ($path) {
case 'admin/help#fontawesome':
return '<p><i class="icon-flag icon-large"></i>' . t('<a href="!fontawesome_url">@fontawesome</a> is an iconic font designed for use with <a href="!bootstrap_url">Bootstrap</a>.', array(
'@fontawesome' => FONTAWESOME_NAME,
'!fontawesome_url' => FONTAWESOME_URL,
'!bootstrap_url' => 'http://getbootstrap.com',
)) . '</p>';
}
}