You are here

function total_control_overview_content_content_type_render in Total Control Admin Dashboard 7.2

Same name and namespace in other branches
  1. 6.2 plugins/content_types/overview_content.inc \total_control_overview_content_content_type_render()
  2. 6 plugins/content_types/overview_content.inc \total_control_overview_content_content_type_render()

Run-time rendering of the body of the block.

File

plugins/content_types/overview_content.inc, line 48

Code

function total_control_overview_content_content_type_render($subtype, $conf, $panel_args, &$context) {
  $items = total_control_get_content_overview($conf);
  $block = new stdClass();
  $block->module = t('total_control');
  $block->title = total_control_overview_content_content_type_admin_title();
  $block->content = theme('total_control_overview_content', array(
    'overview' => $items,
  ));
  return $block;
}