You are here

function finder_theme in Finder 7.2

Same name and namespace in other branches
  1. 6 finder.module \finder_theme()
  2. 7 finder.module \finder_theme()

Implements hook_theme().

File

./finder.module, line 74
The finder module.

Code

function finder_theme() {
  $finder_themes = array(
    'finder_results',
  );
  foreach ($finder_themes as $finder_theme) {
    $theme[$finder_theme] = array(
      'file' => 'theme.inc',
      'path' => drupal_get_path('module', 'finder') . '/includes',
      //'render element' => 'finder',
      'variables' => array(
        'finder' => NULL,
      ),
    );
  }
  finder_plugin_hooks('theme', $theme);
  return $theme;
}