You are here

function opigno_module_page_attachments in Opigno module 8

Same name and namespace in other branches
  1. 3.x opigno_module.module \opigno_module_page_attachments()

Implements hook_page_attachments().

File

./opigno_module.module, line 812
Contains opigno_module.module.

Code

function opigno_module_page_attachments(array &$page) {
  if (opigno_module_is_activity_route()) {
    $page['#attached']['library'][] = 'opigno_module/activity';
  }
  $page['#attached']['library'][] = 'opigno_module/menu_icon';
}