function total_control_overview_content_content_type_render in Total Control Admin Dashboard 6.2
Same name and namespace in other branches
- 6 plugins/content_types/overview_content.inc \total_control_overview_content_content_type_render()
- 7.2 plugins/content_types/overview_content.inc \total_control_overview_content_content_type_render()
Run-time rendering of the body of the block.
Parameters
$subtype:
$conf: Configuration as done at admin time.
$args:
$context: Context - in this case we don't have any.
Return value
An object with at least title and content members.
1 string reference to 'total_control_overview_content_content_type_render'
- overview_content.inc in plugins/
content_types/ overview_content.inc - overview_content.inc
File
- plugins/
content_types/ overview_content.inc, line 70 - overview_content.inc
Code
function total_control_overview_content_content_type_render($subtype, $conf, $panel_args, &$context) {
$block = new stdClass();
$block->module = t('total_control');
$block->title = t('Content overview');
$overview = total_control_get_content_overview($conf);
$block->content = theme('total_control_overview_content', $overview);
return $block;
}