function _views_content_views_content_type in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 views_content/plugins/content_types/views.inc \_views_content_views_content_type()
Create the content type info array to give back to ctools for a given display.
2 calls to _views_content_views_content_type()
- views_content_views_content_type_content_type in views_content/
plugins/ content_types/ views.inc - Return a single 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 81
Code
function _views_content_views_content_type($view) {
$title = $view->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'),
);
}