1 |
85ad3d82
|
Assos Assos
|
<?php
|
2 |
|
|
|
3 |
|
|
/**
|
4 |
|
|
* @file
|
5 |
|
|
* Contains theme registry and theme implementations for the content types.
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
/**
|
9 |
|
|
* Implements hook_theme to load all content plugins and pass thru if
|
10 |
|
|
* necessary.
|
11 |
|
|
*/
|
12 |
|
|
function ctools_content_theme(&$theme) {
|
13 |
|
|
ctools_include('content');
|
14 |
|
|
|
15 |
|
|
$plugins = ctools_get_content_types();
|
16 |
|
|
foreach ($plugins as $plugin) {
|
17 |
|
|
if ($function = ctools_plugin_get_function($plugin, 'hook theme')) {
|
18 |
|
|
$function($theme, $plugin);
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
} |