function tripal_stock_node_info

2.x tripal_stock.chado_node.inc tripal_stock_node_info()
3.x tripal_stock.chado_node.inc tripal_stock_node_info()
1.x tripal_stock.module tripal_stock_node_info()

Implements hook_node_info(): registers a stock node type

Return value

An array describing various details of the node

Related topics

File

tripal_stock/tripal_stock.module, line 334
Implements Tripal Stock Module hooks

Code

function tripal_stock_node_info() {
  return array(
    'chado_stock' => array(
      'name' => t('Stock'),
      'module' => 'chado_stock',
      'description' => t('A Chado Stock is a collection of material that can be sampled and have experiments performed on it.'),
      'has_title' => TRUE,
      'has_body' => FALSE,
    ),
  );
}