function tripal_genetic_theme

2.x tripal_genetic.module tripal_genetic_theme($existing, $type, $theme, $path)
3.x tripal_genetic.module tripal_genetic_theme($existing, $type, $theme, $path)
1.x tripal_genetic.module tripal_genetic_theme()

Implements hook_theme().

Related topics

File

tripal_genetic/tripal_genetic.module, line 114
Basic functionality for the genetic

Code

function tripal_genetic_theme($existing, $type, $theme, $path) {
  $core_path = drupal_get_path('module', 'tripal_core');

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