summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 92feed6be..9be91061b 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1982,6 +1982,16 @@ function system_block_view($delta = '') {
}
/**
+ * Implements hook_preprocess_block().
+ */
+function system_preprocess_block(&$variables) {
+ // System menu blocks should get the same class as menu module blocks.
+ if ($variables['block']->module == 'system' && in_array($variables['block']->delta, array_keys(menu_list_system_menus()))) {
+ $variables['classes_array'][] = 'block-menu';
+ }
+}
+
+/**
* Provide a single block on the administration overview page.
*
* @param $item