You are here

function user_menu_avatar_preprocess_page in User Menu Avatar (User Image in Menu) 8.2

Same name and namespace in other branches
  1. 8 user_menu_avatar.module \user_menu_avatar_preprocess_page()
  2. 8.3 user_menu_avatar.module \user_menu_avatar_preprocess_page()

Implements hook_preprocess_hook().

@inheritdoc

File

./user_menu_avatar.module, line 171
Display user_picture and/or username in menu.

Code

function user_menu_avatar_preprocess_page(&$variables) {

  // Attach our styles library.
  $variables['#attached']['library'][] = 'user_menu_avatar/styles';
}