function views_content_views_feed_content_type_render
Render the views feed content type.
File
-
views_content/
plugins/ content_types/ views_feed.inc, line 19
Code
function views_content_views_feed_content_type_render($subtype, $conf, $panel_args, $context) {
if (empty($context) || empty($context->data)) {
return;
}
// Build the content type block.
$block = new stdClass();
$block->module = 'views_feed';
$block->delta = $context->argument;
$block->title = '';
$block->content = '';
$output = views_content_context_get_output($context);
$block->content = $output['feed_icon'];
return $block;
}