You are here

function basic_cart_page_attachments in Basic cart 8

Same name and namespace in other branches
  1. 8.6 basic_cart.module \basic_cart_page_attachments()
  2. 8.0 basic_cart.module \basic_cart_page_attachments()
  3. 8.2 basic_cart.module \basic_cart_page_attachments()
  4. 8.3 basic_cart.module \basic_cart_page_attachments()
  5. 8.4 basic_cart.module \basic_cart_page_attachments()
  6. 8.5 basic_cart.module \basic_cart_page_attachments()

Implements hook_page_attachments().

File

./basic_cart.module, line 57

Code

function basic_cart_page_attachments(array &$page) {
  $page['#attached']['library'][] = 'basic_cart/basic_cart';
}