summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-09-11 06:03:12 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-09-11 06:03:12 +0000
commitb06d19e34957bd3e719dfcff9e6d180ea95330e5 (patch)
tree495a089976fe40c9cf2389066e3fafbb0d2381ab /modules/taxonomy
parentf096a70e67a75e30dafd3e15448b579bfb1909c2 (diff)
downloadbrdo-b06d19e34957bd3e719dfcff9e6d180ea95330e5.tar.gz
brdo-b06d19e34957bd3e719dfcff9e6d180ea95330e5.tar.bz2
#629484 by Amitaibu, fago, et al: Added Add entity 'label' key info (e.g. title on node).
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 45ae7c091..3d06f111f 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -100,6 +100,7 @@ function taxonomy_entity_info() {
'entity keys' => array(
'id' => 'tid',
'bundle' => 'vocabulary_machine_name',
+ 'label' => 'name',
),
'bundle keys' => array(
'bundle' => 'machine_name',
@@ -131,6 +132,7 @@ function taxonomy_entity_info() {
'base table' => 'taxonomy_vocabulary',
'entity keys' => array(
'id' => 'vid',
+ 'label' => 'name',
),
'fieldable' => FALSE,
);