You are here

function amswap_toolbar_alter in Admin Menu Swap 8

Same name and namespace in other branches
  1. 7.2 amswap.module \amswap_toolbar_alter()

Implements hook_toolbar_alter().

File

./amswap.module, line 26
Contains amswap.module.

Code

function amswap_toolbar_alter(&$items) {
  $items['administration']['tray']['toolbar_administration']['#pre_render'][] = [
    Amswap::class,
    'preRender',
  ];
}