function tripal_pub_theme
2.x tripal_pub.module | tripal_pub_theme($existing, $type, $theme, $path) |
3.x tripal_pub.module | tripal_pub_theme( |
1.x tripal_pub.module | tripal_pub_theme() |
Implements hook_theme(): Register themeing functions for this module
Return value
An array of themeing functions to register
File
- tripal_pub/
tripal_pub.module, line 199 - The Tripal Publication module allows you to search the PubMed databse for academic articles, that relate to user specified tpoic\s. As well, it allows management of publications so that a user can enter specified details regarding a desired…
Code
function tripal_pub_theme() {
$themes = array(
// node templates
'tripal_pub_base' => array(
'arguments' => array('node' => NULL),
),
'tripal_pub_properties' => array(
'arguments' => array('node' => NULL)
),
'tripal_pub_authors' => array(
'arguments' => array('node' => NULL)
),
'tripal_pub_references' => array(
'arguments' => array('node' => NULL)
),
'tripal_pub_relationships' => array(
'arguments' => array('node' => NULL)
),
'tripal_pub_featuremaps' => array(
'arguments' => array('node' => NULL)
),
'tripal_pub_features' => array(
'arguments' => array('node' => NULL)
),
'tripal_pub_libraries' => array(
'arguments' => array('node' => NULL)
),
'tripal_pub_projects' => array(
'arguments' => array('node' => NULL)
),
'tripal_pub_stocks' => array(
'arguments' => array('node' => NULL)
),
// instructions page for the pub module
'tripal_pub_admin' => array(
'template' => 'tripal_pub_admin',
'arguments' => array(NULL),
'path' => drupal_get_path('module', 'tripal_pub') . '/theme'
),
// themed forms
'tripal_pub_importer_setup_form' => array(
'arguments' => array('form'),
),
'tripal_pub_search_form' => array(
'arguments' => array('form'),
),
'chado_pub_node_form' => array(
'arguments' => array('form'),
),
);
return $themes;
}