1 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
- core/
modules/ system/ system.menu.inc, line 475 - Menu block configuration form and display.
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;
}