You are here

function fontawesome_help in Font Awesome Icons 8

Same name and namespace in other branches
  1. 8.2 fontawesome.module \fontawesome_help()
  2. 7.3 fontawesome.module \fontawesome_help()
  3. 7 fontawesome.module \fontawesome_help()
  4. 7.2 fontawesome.module \fontawesome_help()

Implements hook_help().

File

./fontawesome.module, line 14
Drupal integration with Font Awesome, the iconic font for use with Bootstrap.

Code

function fontawesome_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.fontawesome':
      return '<p><i class="fa fa-font-awesome fa-2x"></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>.', [
        ':fontawesome_url' => 'http://fontawesome.io',
        ':fontawesome_examples_page' => 'http://fontawesome.io/examples/',
      ]) . '</p>';
  }
}