You are here

function wingsuit_lb_page_attachments in Gin Layout Builder 8.2

Implements hook_page_attachments().

File

modules/wingsuit_lb/wingsuit_lb.module, line 11

Code

function wingsuit_lb_page_attachments(array &$attachments) {
  if (gin_lb_is_layout_builder_route() && gin_lb_is_valid_theme()) {
    $attachments['#attached']['library'][] = 'wingsuit_lb/core';
  }
}