diff options
-rw-r--r-- | modules/locale/locale.module | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 03f4b2e9c..f553fe16d 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -512,10 +512,7 @@ function locale_field_language_fallback(&$display_language, $entity, $langcode) * Implements hook_entity_info_alter(). */ function locale_entity_info_alter(&$entity_info) { - $enabled = drupal_multilingual(); - foreach ($entity_info as $type => $info) { - $entity_info[$type]['translation']['locale'] = $enabled; - } + $entity_info['node']['translation']['locale'] = TRUE; } /** |