summaryrefslogtreecommitdiff
path: root/modules/locale
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-07-20 01:20:33 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-07-20 01:20:33 -0700
commitbe1bb23a1e16af14ca9ee7401e9be528c43796ed (patch)
treee754a1815dc836b9813e46b710facebd0a303d9c /modules/locale
parentee8670c29533a96fe1aa0b08e95d7327b983066b (diff)
downloadbrdo-be1bb23a1e16af14ca9ee7401e9be528c43796ed.tar.gz
brdo-be1bb23a1e16af14ca9ee7401e9be528c43796ed.tar.bz2
Issue #1164852 by plach: Default the 'translatable' bit on fields to FALSE for fields created in the UI, to match those created by the API.
Diffstat (limited to 'modules/locale')
-rw-r--r--modules/locale/locale.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/locale/locale.test b/modules/locale/locale.test
index 42a6dbc48..3ae6d91a5 100644
--- a/modules/locale/locale.test
+++ b/modules/locale/locale.test
@@ -2137,6 +2137,11 @@ class LocaleMultilingualFieldsFunctionalTest extends DrupalWebTestCase {
);
$this->drupalPost('admin/structure/types/manage/page', $edit, t('Save content type'));
$this->assertRaw(t('The content type %type has been updated.', array('%type' => 'Basic page')), t('Basic page content type has been updated.'));
+
+ // Make node body translatable.
+ $field = field_info_field('body');
+ $field['translatable'] = TRUE;
+ field_update_field($field);
}
/**