Placeholder function for overriding $display['display_title'].
@todo Remove this function once editing the display title is possible.
public function getDisplayLabel(ViewUI $view, $display_id, $check_changed = TRUE) {
$display = $view
->get('display');
$title = $display_id == 'default' ? t('Master') : $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;
}