You are here

function space_customizer_menu::customize in Spaces 6.2

Same name and namespace in other branches
  1. 5.2 spaces.module \space_customizer_menu::customize()
  2. 6 spaces.module \space_customizer_menu::customize()
2 calls to space_customizer_menu::customize()
spaces_features_menu_links_alter in ./spaces.module
Implementation of hook_features_menu_links_alter(). This function is deprecated and is no longer a real drupal_alter() callback. It is invoked directly from spaces_preprocess_page().
space_customizer_menu::form in ./spaces.spaces.inc

File

./spaces.spaces.inc, line 115

Class

space_customizer_menu
Customizer for feature menus.

Code

function customize($space, &$menu = NULL) {
  foreach ($menu as $k => $item) {
    if (!empty($space->customizer['menu'][$item['href']])) {
      $menu[$k]['title'] = $space->customizer['menu'][$item['href']];
    }
  }
}