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 300 - The Tripal Core module
Code
function tripal_core_theme() {
return array(
'tripal_core_job_view' => array(
'arguments' => array('job_id' => NULL),
'template' => 'tripal_core_job_view',
),
'tripal_core_customize' => array(
'arguments' => array('job_id' => NULL),
'template' => 'tripal_core_customize',
'path' => drupal_get_path('module', 'tripal_core') . '/theme'
),
);
}