1 views_ui.admin.inc | views_ui_get_display_label($view, $display_id, $check_changed = TRUE) |
Placeholder function for overriding $display->display_title.
@todo Remove this function once configuring the display title is possible.
File
- core/
modules/ views_ui/ views_ui.admin.inc, line 4885 - Admin page callbacks for the Views UI module.
Code
function views_ui_get_display_label($view, $display_id, $check_changed = TRUE) {
$title = $display_id == 'default' ? t('Default') : $view->display[$display_id]->display_title;
$title = views_ui_truncate($title, 25);
if ($check_changed && !empty($view->changed_display[$display_id])) {
$changed = '*';
$title = $title . $changed;
}
return $title;
}