Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
0 / 0
100.00% covered (success)
100.00%
0 / 0
CRAP
75.00% covered (warning)
75.00%
6 / 8
ctools_content_theme
0.00% covered (danger)
0.00%
0 / 1
0
75.00% covered (warning)
75.00%
6 / 8
<?php
/**
 * @file
 * Contains theme registry and theme implementations for the content types.
 */
/**
 * Implements hook_theme to load all content plugins and pass thru if
 * necessary.
 */
function ctools_content_theme(&$theme) {
  ctools_include('content');
  $plugins = ctools_get_content_types();
  foreach ($plugins as $plugin) {
    if ($function = ctools_plugin_get_function($plugin, 'hook theme')) {
      $function($theme, $plugin);
    }
  }
}