function tripal_bulk_loader_theme
2.x tripal_bulk_loader.module | tripal_bulk_loader_theme($existing, $type, $theme, $path) |
3.x tripal_bulk_loader.module | tripal_bulk_loader_theme( |
1.x tripal_bulk_loader.module | tripal_bulk_loader_theme() |
Implements hook_theme().
Related topics
File
- tripal_bulk_loader/
tripal_bulk_loader.module, line 287 - Provides general functions for the tripal bulk loader.
Code
function tripal_bulk_loader_theme($existing, $type, $theme, $path) {
$core_path = drupal_get_path('module', 'tripal_core');
return array(
'node__tripal_bulk_loader' => array(
'template' => 'node--chado-generic',
'render element' => 'node',
'base hook' => 'node',
'path' => "$core_path/theme/templates",
),
'tripal_bulk_loader_base' => array(
'variables' => array('node' => NULL),
'template' => 'tripal_bulk_loader_base',
'path' => "$path/theme/templates",
),
'tripal_bulk_loader_fields' => array(
'variables' => array('node' => NULL),
'template' => 'tripal_bulk_loader_fields',
'path' => "$path/theme/templates",
),
// form element themes
'tripal_bulk_loader_modify_template_base_form_records' => array(
'template' => 'tripal_bulk_loader_modify_template_base_form_records',
'path' => "$path/theme/templates",
'render element' => 'element'
),
'tripal_bulk_loader_modify_template_base_form_fields' => array(
'template' => 'tripal_bulk_loader_modify_template_base_form_fields',
'path' => "$path/theme/templates",
'render element' => 'element'
),
'tripal_bulk_loader_field_regex_fieldset' => array(
'file' => 'theme/tripal_bulk_loader.theme.inc',
'function' => 'tripal_bulk_loader_field_regex_fieldset',
'render element' => 'element'
),
'tripal_bulk_loader_constant_set' => array(
'function' => 'theme_tripal_bulk_loader_constant_set',
'variables' => array(
'nid' => NULL,
'constants' => NULL,
'template' => NULL,
'options' => array()
),
),
// help page
'tripal_bulk_loader_help' => array(
'template' => 'tripal_bulk_loader_help',
'path' => "$path/theme/templates",
),
// themed teaser
'tripal_bulk_loader_teaser' => array(
'variables' => array('node' => NULL),
'template' => 'tripal_bulk_loader_teaser',
'path' => "$path/theme/templates",
),
);
}