1 admin_bar.module admin_bar_library_info()

Implements hook_library_info().

File

core/modules/admin_bar/admin_bar.module, line 274
Render an administrative bar as a dropdown menu at the top of the window.

Code

function admin_bar_library_info() {
  $path = backdrop_get_path('module', 'admin_bar');
  $libraries['admin_bar'] = array(
    'title' => 'Admin Bar',
    'version' => BACKDROP_VERSION,
    'js' => array(
      $path . '/js/admin_bar.js' => array('group' => JS_DEFAULT),
    ),
    'css' => array(
      $path . '/css/admin_bar.css' => array(
        'type' => 'file',
        'media' => 'screen',
      ),
      $path . '/css/admin_bar-print.css' => array(
        'media' => 'print',
      ),
    ),
    'icons' => array(
      'arrow-left' => array('immutable' => TRUE),
      'arrow-right' => array('immutable' => TRUE),
      'caret-circle-left-fill' => array('immutable' => TRUE),
      'caret-circle-right-fill' => array('immutable' => TRUE),
      'magnifying-glass' => array('immutable' => TRUE),
    ),
  );
  return $libraries;
}