type); $ec->setTitle($entity, $title); } /** * * Implements hook_entity_load(). */ function tripal_entities_entity_load($entities, $type) { } /** * * Implements hook_entity_insert(). */ function tripal_entities_entity_insert($entity, $type) { } /** * * Implements hook_entity_update(). */ function tripal_entities_entity_update($entity, $type) { } /** * * Implements hook_entity_delete(). */ function tripal_entities_entity_delete($entity, $type) { // TODO: delete the record in the public.chado_entity table // and delete the corresponding record in Chado. }