function thunder_toolbar_alter in Thunder 6.2.x
Same name and namespace in other branches
- 8.5 thunder.profile \thunder_toolbar_alter()
- 8.2 thunder.profile \thunder_toolbar_alter()
- 8.3 thunder.profile \thunder_toolbar_alter()
- 8.4 thunder.profile \thunder_toolbar_alter()
- 6.0.x thunder.profile \thunder_toolbar_alter()
- 6.1.x thunder.profile \thunder_toolbar_alter()
Implements hook_library_info_alter().
File
- ./
thunder.profile, line 151 - 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';
}
}