Commit c6c572a1 authored by Dries's avatar Dries

- Patch #632172 by plach: node language and field languages may differ.

parent a71b70f0
......@@ -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;
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment