function oa_search_theme in Open Atrium Search 7.2
Implements hook_theme().
File
- ./
oa_search.module, line 19
Code
function oa_search_theme() {
$path = drupal_get_path('module', 'oa_search') . '/templates';
return array(
'oa_toolbar_search' => array(
'template' => 'oa-toolbar-search',
'variables' => array(
'options' => array(),
),
'path' => $path,
),
'oa_sidebar_search' => array(
'template' => 'oa-sidebar-search',
'variables' => array(
'options' => array(),
'spaces' => array(),
'extra_classes' => '',
),
'path' => $path,
),
'views_view_fields__search_database_results' => array(
'template' => 'views-view-fields--search-database-results',
'base hook' => 'views_view_fields',
'preprocess functions' => array(
'template_preprocess',
'template_preprocess_views_view_fields',
),
'arguments' => array(
'view' => NULL,
'options' => NULL,
'row' => NULL,
),
'path' => $path,
),
'views_view_fields__search_user_results' => array(
'template' => 'views-view-fields--search-user-results',
'base hook' => 'views_view_fields',
'preprocess functions' => array(
'template_preprocess',
'template_preprocess_views_view_fields',
),
'arguments' => array(
'view' => NULL,
'options' => NULL,
'row' => NULL,
),
'path' => $path,
),
'views_view_fields__search_solr_results' => array(
'template' => 'views-view-fields--search-solr-results',
'base hook' => 'views_view_fields',
'preprocess functions' => array(
'template_preprocess',
'template_preprocess_views_view_fields',
),
'arguments' => array(
'view' => NULL,
'options' => NULL,
'row' => NULL,
),
'path' => $path,
),
'views_view_fields__search_user_solr_results' => array(
'template' => 'views-view-fields--search-user-solr-results',
'base hook' => 'views_view_fields',
'preprocess functions' => array(
'template_preprocess',
'template_preprocess_views_view_fields',
),
'arguments' => array(
'view' => NULL,
'options' => NULL,
'row' => NULL,
),
'path' => $path,
),
);
}