function fontawesome_help in Font Awesome Icons 7.3
Same name and namespace in other branches
- 8.2 fontawesome.module \fontawesome_help()
- 8 fontawesome.module \fontawesome_help()
- 7 fontawesome.module \fontawesome_help()
- 7.2 fontawesome.module \fontawesome_help()
Implements hook_help().
File
- ./
fontawesome.module, line 35 - Drupal integration with Font Awesome 5.
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">Font Awesome</a> is an iconic font and CSS toolkit. Font Awesome gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS. For more information on how to use Font Awesome, see the <a href="!fontawesome_examples_page">Font Awesome Examples page</a>.', array(
'!fontawesome_url' => FONTAWESOME_URL,
'!fontawesome_examples_page' => FONTAWESOME_URL . '/how-to-use/svg-with-js',
)) . '</p>';
}
}