function spaces_dashboard_title in Spaces 7.3
Same name and namespace in other branches
- 6.3 spaces_dashboard/spaces_dashboard.module \spaces_dashboard_title()
- 7 spaces_dashboard/spaces_dashboard.module \spaces_dashboard_title()
Menu title callback.
1 string reference to 'spaces_dashboard_title'
- spaces_dashboard_menu in spaces_dashboard/
spaces_dashboard.module - Implements hook_menu().
File
- spaces_dashboard/
spaces_dashboard.module, line 145
Code
function spaces_dashboard_title($dashboard = NULL) {
$custom = variable_get('spaces_dashboard_custom', array(
'custom-1' => t('Dashboard'),
));
return isset($dashboard) && !empty($custom[$dashboard]) ? $custom[$dashboard] : t('Dashboard');
}