function tripal_db_theme

2.x tripal_db.module tripal_db_theme($existing, $type, $theme, $path)
3.x tripal_db.module tripal_db_theme($existing, $type, $theme, $path)
1.x tripal_db.module tripal_db_theme()

Implements hook_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_db/tripal_db.module, line 139
General functions for the db module

Code

function tripal_db_theme($existing, $type, $theme, $path) {

  $items = array(
    'tripal_db_help' => array(
      'template' => 'tripal_db_help',
      'variables' => array(NULL),
      'path' => "$path/theme/templates"
    )
  );
  return $items;
}