You are here

function javascript_libraries_preprocess_page in JavaScript Libraries Manager 8

Implements hook_preprocess_page.

Parameters

$variables:

File

./javascript_libraries.module, line 82
Toggle the inclusion of Drupal system libraries. Upload and reference custom libraries as well.

Code

function javascript_libraries_preprocess_page(&$variables) {
  $variables['#attached']['library'][] = 'javascript_libraries/external';
}