1.20.x system.menu.inc | system_menu_block_set_title($item = NULL) |
Sets the menu item to use for the tree's title.
Parameters
array|string $item: The menu item (an array) or the menu item's title as a string.
Return value
array|string: The saved title value.
File
- modules/
system/ system.menu.inc, line 402
Code
function system_menu_block_set_title($item = NULL) {
$menu_item = &backdrop_static(__FUNCTION__, '');
// Save the menu item.
if (!is_null($item)) {
$menu_item = $item;
}
return $menu_item;
}