function chado_example_chado_node_default_title_format
2.x tripal_example.chado_node.inc | chado_example_chado_node_default_title_format() |
Implements [content_type]_chado_node_default_title_format().
Defines a default title format for the Chado Node API to set the titles on Chado example nodes based on chado fields.
File
- tripal_example/
includes/ tripal_example.chado_node.inc, line 869 - This file should contain all Drupal hooks for interacting with nodes.
Code
function chado_example_chado_node_default_title_format() {
return '[example.name], [example.uniquename] ([example.type_id>cvterm.name]) [example.organism_id>organism.genus] [example.organism_id>organism.species]';
}