summaryrefslogtreecommitdiff
path: root/modules/node
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/node
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/node')
-rw-r--r--modules/node/node.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 58a264749..d54f75e0a 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -576,6 +576,7 @@ function node_configure_fields($type) {
$field = array(
'field_name' => 'body',
'type' => 'text_with_summary',
+ 'object_types' => array('node'),
'translatable' => TRUE,
);
$field = field_create_field($field);