function tripal_core_theme
2.x tripal_core.module | tripal_core_theme($existing, $type, $theme, $path) |
3.x tripal_core.module | tripal_core_theme( |
1.x tripal_core.module | tripal_core_theme() |
Implements hook_theme(). Registers template files/functions used by this module.
Related topics
File
- tripal_core/
tripal_core.module, line 459 - The Tripal Core module
Code
function tripal_core_theme($existing, $type, $theme, $path) {
return array(
'tripal_core_customize' => array(
'arguments' => array('job_id' => NULL),
'template' => 'tripal_core_customize',
'path' => "$path/theme/templates"
),
'theme_file_upload_combo' => array(
'render element' => 'element',
),
'theme_sequence_combo' => array(
'render element' => 'element',
),
'tripal_core_jobs_help' => array(
'template' => 'tripal_core_jobs_help',
'variables' => array(NULL),
'path' => "$path/theme/templates"
),
'tripal_core_customtables_help' => array(
'template' => 'tripal_core_customtables_help',
'variables' => array(NULL),
'path' => "$path/theme/templates"
),
// Chado Node API Themes
// --------------------------------
// Properties Node Form
'chado_node_properties_form_table' => array(
'function' => 'theme_chado_add_node_form_properties',
'render element' => 'element',
),
// Additional Dbxrefs Nore Form
'chado_node_additional_dbxrefs_form_table' => array(
'function' => 'theme_chado_add_node_form_dbxrefs_table',
'render element' => 'element',
),
// Relationships Nore Form
'chado_node_relationships_form_table' => array(
'function' => 'theme_chado_add_node_form_relationships_table',
'render element' => 'element',
),
// Admin messages theme
// --------------------------------
'tripal_admin_message' => array(
'function' => 'theme_tripal_admin_message',
'variables' => array('message' => NULL),
),
// Form and form element themes.
// --------------------------------
'tripal_node_toc_items_table' => array(
'render element' => 'element',
),
// Theme function for the extension admin page.
'tripal_core_extensions_form_tables' => array(
'render element' => 'element',
)
);
}