Skip to content

Commit

Permalink
Merge pull request #43 from statonlab/add-term--to-details
Browse files Browse the repository at this point in the history
Add term to details array of field instance
  • Loading branch information
almasaeed2010 authored Aug 27, 2018
2 parents 3fc07e1 + a34d97b commit 252b4c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stubs/chado_fields
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ function $$module_name$$_bundle_instances_info($entity_type, $bundle) {
'description' => '$$field_description$$',
'required' => FALSE,
'settings' => array(
'term_vocabulary' => '$$db_name$$',
'term_name' => '$$cv_term$$',
'term_accession' => '$$field_accession$$',
'auto_attach' => FALSE,
'chado_table' => $bundle->data_table,
'chado_column' => 'organism_id',
Expand Down
3 changes: 3 additions & 0 deletions stubs/tripal_fields
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ function $$module_name$$_bundle_instances_info($entity_type, $bundle) {
'description' => '$$field_description$$',
'required' => FALSE,
'settings' => array(
'term_vocabulary' => '$$db_name$$',
'term_name' => '$$cv_term$$',
'term_accession' => '$$field_accession$$',
'auto_attach' => FALSE,
// 'chado_table' => $bundle->data_table,
// 'chado_column' => 'organism_id',
Expand Down

0 comments on commit 252b4c9

Please sign in to comment.