[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/ctools/includes/ -> content.theme.inc (source)

   1  <?php
   2  // $Id: content.theme.inc,v 1.3 2009/05/11 22:01:42 merlinofchaos Exp $
   3  
   4  /**
   5   * @file
   6   * Contains theme registry and theme implementations for the content types.
   7   */
   8  
   9  /**
  10   * Implementation of hook_theme to load all content plugins and pass thru if
  11   * necessary.
  12   */
  13  function ctools_content_theme(&$theme) {
  14    ctools_include('content');
  15  
  16    $plugins = ctools_get_content_types();
  17    foreach ($plugins as $plugin) {
  18      if ($function = ctools_plugin_get_function($plugin, 'hook theme')) {
  19        $function($theme, $plugin);
  20      }
  21    }
  22  }


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7