Same filename in other branches
  1. 6.0.x tests/modules/advagg_test/advagg_test.module
  2. 8.x-2.x tests/modules/advagg_test/advagg_test.module
  3. 8.x-3.x tests/modules/advagg_test/advagg_test.module
  4. 8.x-4.x tests/modules/advagg_test/advagg_test.module

Advanced CSS/JS aggregation testing module.

File

tests/modules/advagg_test/advagg_test.module

View source
<?php


/**
 * @file
 * Advanced CSS/JS aggregation testing module.
 */

/**
 * Implements hook_page_attachments().
 */
function advagg_test_page_attachments(array &$page) {
    $page['#attached']['library'][] = 'advagg_test/external';
    $page['#attached']['library'][] = 'core/jquery.ui';
    $page['#attached']['library'][] = 'advagg_test/screen';
}

Functions

Title Deprecated Summary
advagg_test_page_attachments Implements hook_page_attachments().