Skip to content
Snippets Groups Projects
Select Git revision
  • 7.x
  • 11.x default protected
  • 10.5.x protected
  • 10.6.x protected
  • 11.2.x protected
  • 11.1.x protected
  • 10.4.x protected
  • 11.0.x protected
  • 10.3.x protected
  • 10.2.x protected
  • 10.1.x protected
  • 9.5.x protected
  • 10.0.x protected
  • 9.4.x protected
  • 9.3.x protected
  • 9.2.x protected
  • 9.1.x protected
  • 8.9.x protected
  • 9.0.x protected
  • 8.8.x protected
  • 10.5.2 protected
  • 11.2.3 protected
  • 10.5.1 protected
  • 11.2.2 protected
  • 11.2.1 protected
  • 11.2.0 protected
  • 10.5.0 protected
  • 11.2.0-rc2 protected
  • 10.5.0-rc1 protected
  • 11.2.0-rc1 protected
  • 10.4.8 protected
  • 11.1.8 protected
  • 10.5.0-beta1 protected
  • 11.2.0-beta1 protected
  • 11.2.0-alpha1 protected
  • 10.4.7 protected
  • 11.1.7 protected
  • 10.4.6 protected
  • 11.1.6 protected
  • 10.3.14 protected
40 results

toolbar.tpl.php

Blame
  • user avatar
    Issue #716496 by killtheliterate, rootwork: Make sure all core template files...
    Jennifer Hodgdon authored
    Issue #716496 by killtheliterate, rootwork: Make sure all core template files are in themeable group
    03c644b2
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    toolbar.tpl.php 1.31 KiB
    <?php
    
    /**
     * @file
     * Default template for admin toolbar.
     *
     * Available variables:
     * - $classes: String of classes that can be used to style contextually through
     *   CSS. It can be manipulated through the variable $classes_array from
     *   preprocess functions. The default value has the following:
     *   - toolbar: The current template type, i.e., "theming hook".
     * - $toolbar['toolbar_user']: User account / logout links.
     * - $toolbar['toolbar_menu']: Top level management menu links.
     * - $toolbar['toolbar_drawer']: A place for extended toolbar content.
     *
     * Other variables:
     * - $classes_array: Array of html class attribute values. It is flattened
     *   into a string within the variable $classes.
     *
     * @see template_preprocess()
     * @see template_preprocess_toolbar()
     *
     * @ingroup themeable
     */
    ?>
    <div id="toolbar" class="<?php print $classes; ?> clearfix">
      <div class="toolbar-menu clearfix">
        <?php print render($toolbar['toolbar_home']); ?>
        <?php print render($toolbar['toolbar_user']); ?>
        <?php print render($toolbar['toolbar_menu']); ?>
        <?php if ($toolbar['toolbar_drawer']):?>
          <?php print render($toolbar['toolbar_toggle']); ?>
        <?php endif; ?>
      </div>
    
      <div class="<?php echo $toolbar['toolbar_drawer_classes']; ?>">
        <?php print render($toolbar['toolbar_drawer']); ?>
      </div>
    </div>