You are here

function admin_menu_theme in Administration menu 8.3

Same name and namespace in other branches
  1. 6.3 admin_menu.module \admin_menu_theme()
  2. 6 admin_menu.module \admin_menu_theme()
  3. 7.3 admin_menu.module \admin_menu_theme()

Implements hook_theme().

File

./admin_menu.module, line 51
Render an administrative menu as a dropdown menu at the top of the window.

Code

function admin_menu_theme() {
  return [
    'admin_menu_links' => [
      'render element' => 'elements',
    ],
    'admin_menu_icon' => [
      'variables' => [
        'src' => NULL,
        'alt' => NULL,
      ],
      'file' => 'admin_menu.inc',
    ],
  ];
}