function _spaces_block_nav in Spaces 5.2
Same name and namespace in other branches
- 5 spaces_block.inc \_spaces_block_nav()
- 6 spaces.module \_spaces_block_nav()
Default navigation menu - you can create your own customized version using the spaces_features_menu() and theme_links() functions.
1 call to _spaces_block_nav()
- spaces_block in ./
spaces.module - Implementation of hook_block()
File
- ./
spaces.module, line 1320
Code
function _spaces_block_nav() {
$block = array();
if ($space = spaces_get_space()) {
$links = spaces_features_menu();
$block['subject'] = $space->title;
$block['content'] = theme('links', $links);
}
return $block;
}