function bat_toolbar in Booking and Availability Management Tools for Drupal 8
Implements hook_toolbar().
File
- ./
bat.module, line 52 - Contains bat.module..
Code
function bat_toolbar() {
$items = [];
$items['bat'] = [
'#type' => 'toolbar_item',
'#attached' => [
'library' => [
'bat/drupal.bat.toolbar',
],
],
];
return $items;
}