You are here

function cheeseburger_menu_page_attachments in Cheeseburger Menu 8.2

Same name and namespace in other branches
  1. 8.4 cheeseburger_menu.module \cheeseburger_menu_page_attachments()
  2. 8 cheeseburger_menu.module \cheeseburger_menu_page_attachments()
  3. 8.3 cheeseburger_menu.module \cheeseburger_menu_page_attachments()
  4. 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';
}