function cheeseburger_menu_page_attachments in Cheeseburger Menu 8.2
Same name and namespace in other branches
- 8.4 cheeseburger_menu.module \cheeseburger_menu_page_attachments()
- 8 cheeseburger_menu.module \cheeseburger_menu_page_attachments()
- 8.3 cheeseburger_menu.module \cheeseburger_menu_page_attachments()
- 5.0.x cheeseburger_menu.module \cheeseburger_menu_page_attachments()
Implements hook_page_attachments().
File
- ./
cheeseburger_menu.module, line 38 - Cheesebugers module file.
Code
function cheeseburger_menu_page_attachments(array &$page) {
$page['#attached']['library'][] = 'cheeseburger_menu/cheeseburger_menu.js';
}