You are here

function opigno_module_page_attachments in Opigno module 3.x

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

Implements hook_page_attachments().

File

./opigno_module.module, line 811
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';
}