summaryrefslogtreecommitdiff
path: root/profiles/standard
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/standard')
-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.',