summaryrefslogtreecommitdiff
path: root/modules/comment/comment.install
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-30 02:22:01 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-30 02:22:01 +0000
commite5f48f0f780ac0ea08ecbf31c85f9bcdc80147ac (patch)
tree53338c4beb77d716f2905f0212883cc07af98ba0 /modules/comment/comment.install
parent02c1eeee3fc904ecc7845902cc11ba545dd9466b (diff)
downloadbrdo-e5f48f0f780ac0ea08ecbf31c85f9bcdc80147ac.tar.gz
brdo-e5f48f0f780ac0ea08ecbf31c85f9bcdc80147ac.tar.bz2
#680910 by yched and bjaspan: Allow fields to be restricted to entity types.
Diffstat (limited to 'modules/comment/comment.install')
-rw-r--r--modules/comment/comment.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/comment/comment.install b/modules/comment/comment.install
index 501252eb0..6865c6b6b 100644
--- a/modules/comment/comment.install
+++ b/modules/comment/comment.install
@@ -55,6 +55,7 @@ function comment_enable() {
$field = array(
'field_name' => 'comment_body',
'type' => 'text_long',
+ 'object_types' => array('comment'),
);
field_create_field($field);
}
@@ -254,6 +255,7 @@ function comment_update_7012() {
$field = array(
'field_name' => 'comment_body',
'type' => 'text_long',
+ 'object_types' => array('comment'),
);
field_create_field($field);