You are here

function thunder_toolbar_alter in Thunder 8.4

Same name and namespace in other branches
  1. 8.5 thunder.profile \thunder_toolbar_alter()
  2. 8.2 thunder.profile \thunder_toolbar_alter()
  3. 8.3 thunder.profile \thunder_toolbar_alter()
  4. 6.2.x thunder.profile \thunder_toolbar_alter()
  5. 6.0.x thunder.profile \thunder_toolbar_alter()
  6. 6.1.x thunder.profile \thunder_toolbar_alter()

Implements hook_library_info_alter().

File

./thunder.profile, line 369
Enables modules and site configuration for a thunder site installation.

Code

function thunder_toolbar_alter(&$items) {
  if (!empty($items['admin_toolbar_tools'])) {
    $items['admin_toolbar_tools']['#attached']['library'][] = 'thunder/toolbar.icon';
  }
}