diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-20 01:20:33 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-20 01:20:33 -0700 |
commit | be1bb23a1e16af14ca9ee7401e9be528c43796ed (patch) | |
tree | e754a1815dc836b9813e46b710facebd0a303d9c /modules/locale | |
parent | ee8670c29533a96fe1aa0b08e95d7327b983066b (diff) | |
download | brdo-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.test | 5 |
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); } /** |