diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-17 12:34:02 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-17 12:34:02 +0000 |
commit | 7864b0066b4ad3fc17ce1526b1e4ecae52b2f9c8 (patch) | |
tree | 61034aecdbb980f2de55d59d8609e58c43799606 /profiles | |
parent | 11751c151da0dd234fa6f60c42ba9ab40510cf25 (diff) | |
download | brdo-7864b0066b4ad3fc17ce1526b1e4ecae52b2f9c8.tar.gz brdo-7864b0066b4ad3fc17ce1526b1e4ecae52b2f9c8.tar.bz2 |
- Patch #762404 by BarisW: improve the field name of taxonomy fields.
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/standard/standard.install | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/profiles/standard/standard.install b/profiles/standard/standard.install index 75db91ec2..90deff7f2 100644 --- a/profiles/standard/standard.install +++ b/profiles/standard/standard.install @@ -247,7 +247,7 @@ function standard_install() { 'predicates' => array('rdfs:seeAlso'), 'type' => 'rel', ), - 'taxonomy_tags' => array( + 'field_tags' => array( 'predicates' => array('dc:subject'), 'type' => 'rel', ), @@ -284,7 +284,7 @@ function standard_install() { taxonomy_vocabulary_save($vocabulary); $field = array( - 'field_name' => 'taxonomy_' . $vocabulary->machine_name, + 'field_name' => 'field_' . $vocabulary->machine_name, 'type' => 'taxonomy_term_reference', // Set cardinality to unlimited for tagging. 'cardinality' => FIELD_CARDINALITY_UNLIMITED, @@ -300,7 +300,7 @@ function standard_install() { field_create_field($field); $instance = array( - 'field_name' => 'taxonomy_' . $vocabulary->machine_name, + 'field_name' => 'field_' . $vocabulary->machine_name, 'entity_type' => 'node', 'label' => $vocabulary->name, 'bundle' => 'article', |