function jquery_social_stream_admin_info in jQuery social stream 7.2
Same name and namespace in other branches
- 7 plugins/content_types/jquery_social_stream.inc \jquery_social_stream_admin_info()
Callback to provide administrative info (the preview in panels when building a panel).
In this case we'll render the content with a dummy argument and a dummy context.
1 string reference to 'jquery_social_stream_admin_info'
- jquery_social_stream.inc in plugins/
content_types/ jquery_social_stream.inc
File
- plugins/
content_types/ jquery_social_stream.inc, line 56
Code
function jquery_social_stream_admin_info($subtype, $conf, $context = NULL) {
$block = jquery_social_stream_render($subtype, $conf, array(), $context);
if (!empty($conf['override_title'])) {
$block->title = $conf['override_title_text'];
}
return $block;
}