function tripal_analysis_theme

2.x tripal_analysis.module tripal_analysis_theme($existing, $type, $theme, $path)
3.x tripal_analysis.module tripal_analysis_theme($existing, $type, $theme, $path)
1.x tripal_analysis.module tripal_analysis_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_analysis/tripal_analysis.module, line 548
Contains all the main hook implementations for the tripal_analysis module

Code

function tripal_analysis_theme() {
  $items = array(
    'tripal_analysis_base' => array(
      'arguments' => array('node' => NULL),
      'template' => 'tripal_analysis_base',
    ),
    'tripal_feature_analyses' => array(
      'template' => 'tripal_feature_analyses',
      'arguments' => array('node' => NULL),
    ),
    'tripal_analysis_admin' => array(
      'template' => 'tripal_analysis_admin',
      'arguments' => array(NULL),
      'path' => drupal_get_path('module', 'tripal_analysis') . '/theme',
    ),
    'tripal_analysis_properties' => array(
      'arguments' => array('node' => NULL)
    ),
    // Themed Forms
    'chado_analysis_node_form' => array(
      'arguments' => array('form'),
    ),
  );

  return $items;
}