Same name in other branches
- 5.0.x tests/modules/advagg_test/advagg_test.module \advagg_test_page_attachments()
- 6.0.x tests/modules/advagg_test/advagg_test.module \advagg_test_page_attachments()
- 8.x-2.x tests/modules/advagg_test/advagg_test.module \advagg_test_page_attachments()
- 8.x-3.x 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
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';
}