function tripal_cv_theme

2.x tripal_cv.module tripal_cv_theme($existing, $type, $theme, $path)
3.x tripal_cv.module tripal_cv_theme($existing, $type, $theme, $path)
1.x tripal_cv.module tripal_cv_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_cv/tripal_cv.module, line 320
Provides functions for managing chado controlled vocabularies which are used ubiquitously throughout chado.

Code

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

  $items = array(
    'tripal_cv_help' => array(
      'template' => 'tripal_cv_help',
      'variables' => array(NULL),
      'path' => "$path/theme/templates"
    ),
    // Default CV form
    'tripal_cv_admin_set_defaults_form' => array(
      'function' => 'theme_tripal_cv_admin_set_defaults_form',
      'render element' => 'element',
    ),
  );

  return $items;
}