From 1529b1cfccc9e81f0616c099d5e5cba9c999bf5b Mon Sep 17 00:00:00 2001 From: Ron Shimshock Date: Mon, 23 May 2016 08:17:58 -0500 Subject: [PATCH] Support menu attach block --- admin_menu.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_menu.module b/admin_menu.module index 21bff9f..60de22c 100644 --- a/admin_menu.module +++ b/admin_menu.module @@ -659,7 +659,7 @@ function theme_admin_menu_links($variables) { } else { $elements[$path]['#children'] = theme('admin_menu_links', array('elements' => $elements[$path])); - if (!empty($elements[$path]['#children'])) { + if (!empty($elements[$path]['#children']) || !empty($elements[$path]['#options']['menu_attach_block'])) { $elements[$path]['#attributes']['class'][] = 'expandable'; } if (isset($elements[$path]['#attributes']['class'])) { -- 2.8.2