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()

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 112

Code

function tripal_db_theme() {
  return array(
    'tripal_db_admin' => array(
      'template' => 'tripal_db_admin',
      'arguments' => array(NULL),
      'path' => drupal_get_path('module', 'tripal_db') . '/theme',
    ),
  );
}