initial commit, from drupal7base

This commit is contained in:
Bachir Soussi Chiadmi
2015-02-17 15:40:34 +01:00
commit e787137542
5750 changed files with 1170043 additions and 0 deletions
@@ -0,0 +1,21 @@
<?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);
}
}
}