summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-27 05:52:50 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-27 05:52:50 +0000
commit7d4b84b8789ffd3ad22dc987860f46c18f9d0f07 (patch)
treea5e7429b505f079ea6e0938f4f7773719200c915 /profiles
parentf86fda29a3e004e7e38a5d039aa0869a5bd6d888 (diff)
downloadbrdo-7d4b84b8789ffd3ad22dc987860f46c18f9d0f07.tar.gz
brdo-7d4b84b8789ffd3ad22dc987860f46c18f9d0f07.tar.bz2
#707724 follow-up by yched: Fix more confusing field/entity api arguments.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/standard/standard.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/standard/standard.install b/profiles/standard/standard.install
index ff10e0b9c..75db91ec2 100644
--- a/profiles/standard/standard.install
+++ b/profiles/standard/standard.install
@@ -301,7 +301,7 @@ function standard_install() {
$instance = array(
'field_name' => 'taxonomy_' . $vocabulary->machine_name,
- 'object_type' => 'node',
+ 'entity_type' => 'node',
'label' => $vocabulary->name,
'bundle' => 'article',
'description' => $vocabulary->help,
@@ -340,7 +340,7 @@ function standard_install() {
// See http://api.drupal.org/api/function/field_create_instance/7
$instance = array(
'field_name' => 'field_image',
- 'object_type' => 'node',
+ 'entity_type' => 'node',
'label' => 'Image',
'bundle' => 'article',
'description' => 'Upload an image to go with this article.',