Update to Drupal 8.0-dev-2015-11-17. Commits through da81cd220, Tue Nov 17 15:53:49 2015 +0000, Issue #2617224 by Wim Leers: Move around/fix some documentation.
This commit is contained in:
parent
4afb23bbd3
commit
7784f4c23d
929 changed files with 19798 additions and 5304 deletions
|
@ -124,7 +124,7 @@
|
|||
var orientation = this.model.get('orientation');
|
||||
// Determine the toggle-to orientation.
|
||||
var antiOrientation = (orientation === 'vertical') ? 'horizontal' : 'vertical';
|
||||
var locked = (antiOrientation === 'vertical') ? true : false;
|
||||
var locked = antiOrientation === 'vertical';
|
||||
// Remember the locked state.
|
||||
if (locked) {
|
||||
localStorage.setItem('Drupal.toolbar.trayVerticalLocked', 'true');
|
||||
|
|
|
@ -30,6 +30,7 @@ class ToolbarMenuLinkTree extends MenuLinkTree {
|
|||
$menu_name = $first_link->getMenuName();
|
||||
// Add a more specific theme suggestion to differentiate this rendered
|
||||
// menu from others.
|
||||
$build['#menu_name'] = $menu_name;
|
||||
$build['#theme'] = 'menu__toolbar__' . strtr($menu_name, '-', '_');
|
||||
return $build;
|
||||
}
|
||||
|
|
Reference in a new issue