function views_content_views_content_type_admin_title
Returns the administrative title for a type.
File
-
views_content/
plugins/ content_types/ views.inc, line 399
Code
function views_content_views_content_type_admin_title($subtype, $conf) {
$view = _views_content_views_update_conf($conf, $subtype);
if (!is_object($view)) {
return t('Deleted/missing view @view', array(
'@view' => $view,
));
}
$title = views_content_get_display_label($view, $view->current_display);
return t('View: @name', array(
'@name' => $view->get_human_name() . ': ' . $title,
));
}