You are here

function advagg_test_page_attachments in Advanced CSS/JS Aggregation 8.4

Same name and namespace in other branches
  1. 8.2 tests/modules/advagg_test/advagg_test.module \advagg_test_page_attachments()
  2. 8.3 tests/modules/advagg_test/advagg_test.module \advagg_test_page_attachments()

Implements hook_page_attachments().

File

tests/modules/advagg_test/advagg_test.module, line 11
Advanced CSS/JS aggregation testing module.

Code

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';
}