function _views_content_views_content_type

Create the content type info array to give back to ctools for a given display.

1 call to _views_content_views_content_type()
views_content_views_content_type_content_types in views_content/plugins/content_types/views.inc
Return all content types available.

File

views_content/plugins/content_types/views.inc, line 69

Code

function _views_content_views_content_type($view) {
    $title = $view->get_human_name();
    $icon = 'icon_views_page_legacy.png';
    return array(
        'view' => $view->name,
        'title' => $title,
        'icon' => $icon,
        'description' => filter_xss_admin($view->description),
        'category' => t('Views'),
    );
}