You are here

function fontawesome_preprocess_page in Font Awesome Icons 7

Implements hook_preprocess_page().

Purposefully only load on page requests and not hook_init(). This is required so it does not increase the bootstrap time of Drupal when it isn't necessary.

File

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

Code

function fontawesome_preprocess_page() {
  libraries_load(FONTAWESOME_LIBRARY);
}