function tripal_contact_node_info

2.x tripal_contact.chado_node.inc tripal_contact_node_info()
3.x tripal_contact.chado_node.inc tripal_contact_node_info()
1.x tripal_contact.module tripal_contact_node_info()

Implementation of hook_node_info(). This node_info, is a simple node that describes the functionallity of the module.

Related topics

File

tripal_contact/includes/tripal_contact.chado_node.inc, line 15
Implements drupal node hooks.

Code

function tripal_contact_node_info() {

  return array(
    'chado_contact' => array(
      'name' => t('Contact'),
      'base' => 'chado_contact',
      'description' => t('A contact from the Chado database'),
      'has_title' => TRUE,
      'locked' => TRUE,
      'chado_node_api' => array(
        'base_table' => 'contact',
        'hook_prefix' => 'chado_contact',
        'record_type_title' => array(
          'singular' => t('Contact'),
          'plural' => t('Contacts')
        ),
        'sync_filters' => array(
          'type_id' => FALSE,
          'organism_id' => FALSE
        ),
      )
    ),
  );
}