function tripal_library_theme
2.x tripal_library.module | tripal_library_theme($existing, $type, $theme, $path) |
3.x tripal_library.module | tripal_library_theme( |
1.x tripal_library.module | tripal_library_theme() |
We need to let drupal know about our theme functions and their arguments. We create theme functions to allow users of the module to customize the look and feel of the output generated in this module
Related topics
File
- tripal_library/
tripal_library.module, line 222
Code
function tripal_library_theme() {
return array(
'tripal_library_library_table' => array(
'arguments' => array('libraries'),
),
'tripal_library_search_index' => array(
'arguments' => array('node'),
),
'tripal_library_search_result' => array(
'arguments' => array('node'),
),
'tripal_organism_libraries' => array(
'arguments' => array('node' => NULL),
'template' => 'tripal_organism_libraries',
),
'tripal_feature_libraries' => array(
'arguments' => array('node' => NULL),
'template' => 'tripal_feature_libraries',
),
'tripal_library_base' => array(
'arguments' => array('node' => NULL),
'template' => 'tripal_library_base',
),
'tripal_library_synonyms' => array(
'arguments' => array('node' => NULL),
'template' => 'tripal_library_synonyms',
),
'tripal_library_references' => array(
'arguments' => array('node' => NULL),
'template' => 'tripal_library_references',
),
'tripal_library_properties' => array(
'arguments' => array('node' => NULL),
'template' => 'tripal_library_properties',
),
'tripal_library_terms' => array(
'arguments' => array('node' => NULL),
'template' => 'tripal_library_terms',
),
'tripal_library_admin' => array(
'template' => 'tripal_library_admin',
'arguments' => array(NULL),
'path' => drupal_get_path('module', 'tripal_library') . '/theme',
),
);
}