function tripal_featuremap_theme

2.x tripal_featuremap.module tripal_featuremap_theme($existing, $type, $theme, $path)
3.x tripal_featuremap.module tripal_featuremap_theme($existing, $type, $theme, $path)
1.x tripal_featuremap.module tripal_featuremap_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_featuremap/tripal_featuremap.module, line 219

Code

function tripal_featuremap_theme() {
  return array(
    'tripal_featuremap_search_index' => array(
      'arguments' => array('node'),
    ),
    'tripal_featuremap_search_result' => array(
      'arguments' => array('node'),
    ),
    'tripal_featuremap_base' => array(
      'arguments' => array('node' => NULL),
      'template' => 'tripal_featuremap_base',
    ),
    'tripal_featuremap_properties' => array(
      'arguments' => array('node' => NULL),
      'template' => 'tripal_featuremap_properties',
    ),
    'tripal_featuremap_featurepos' => array(
      'arguments' => array('node' => NULL),
      'template' => 'tripal_featuremap_featurepos',
    ),
    'tripal_featuremap_publication' => array(
      'arguments' => array('node' => NULL),
      'template' => 'tripal_featuremap_publication',
    ),
    'tripal_featuremap_references' => array(
      'arguments' => array('node' => NULL),
      'template' => 'tripal_featuremap_references',
    ),
    'tripal_featuremap_admin' => array(
      'template' => 'tripal_featuremap_admin',
      'arguments' => array(NULL),
      'path' => drupal_get_path('module', 'tripal_featuremap') . '/theme'
    ),

    // Themed Forms
    'chado_featuremap_node_form' => array(
      'arguments' => array('form'),
    ),
  );
}