You are here

function template_preprocess_menu_block_wrapper in Menu Block 7.2

Same name and namespace in other branches
  1. 6.2 menu_block.module \template_preprocess_menu_block_wrapper()
  2. 7.3 menu_block.module \template_preprocess_menu_block_wrapper()

Process variables for menu-block-wrapper.tpl.php.

See also

menu-block-wrapper.tpl.php

File

./menu_block.module, line 189
Provides configurable blocks of menu items.

Code

function template_preprocess_menu_block_wrapper(&$variables) {
  $variables['classes_array'][] = 'menu-block-' . $variables['delta'];
  $variables['classes_array'][] = 'menu-name-' . $variables['config']['menu_name'];
  $variables['classes_array'][] = 'parent-mlid-' . menu_block_clean_css_identifier($variables['config']['parent_mlid']);
  $variables['classes_array'][] = 'menu-level-' . $variables['config']['level'];
}