function tripal_contact_theme

2.x tripal_contact.module tripal_contact_theme($existing, $type, $theme, $path)
3.x tripal_contact.module tripal_contact_theme($existing, $type, $theme, $path)
1.x tripal_contact.module tripal_contact_theme()

Implements hook_theme(): Register themeing functions for this module

Return value

An array of themeing functions to register

File

tripal_contact/tripal_contact.module, line 145
This file contains the basic functions needed for this drupal module. The drupal tripal_contact module maps directly to the chado X module.

Code

function tripal_contact_theme() {

  return array(
    'tripal_contact_base' => array(
      'arguments' => array('node' => NULL),
    ),
    'tripal_contact_properties' => array(
      'arguments' => array('node' => NULL)
    ),
    'tripal_contact_relationships' => array(
      'arguments' => array('node' => NULL)
    ),
    'tripal_contact_publications' => array(
      'arguments' => array('node' => NULL)
    ),
    'tripal_contact_admin' => array(
      'template' => 'tripal_contact_admin',
      'arguments' => array(NULL),
      'path' => drupal_get_path('module', 'tripal_contact') . '/theme'
    ),

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