diff --git a/core/modules/language/language.module b/core/modules/language/language.module index 6bbb5a7..476246f 100644 --- a/core/modules/language/language.module +++ b/core/modules/language/language.module @@ -201,7 +201,7 @@ function language_theme() { function language_entity_supported() { $supported = array(); foreach (entity_get_info() as $entity_type => $info) { - if (!empty($info['fieldable']) && !empty($info['translatable'])) { + if (!empty($info['translatable'])) { $supported[$entity_type] = $entity_type; } } diff --git a/core/modules/menu_link/lib/Drupal/menu_link/Plugin/Core/Entity/MenuLink.php b/core/modules/menu_link/lib/Drupal/menu_link/Plugin/Core/Entity/MenuLink.php index ce3911d..50aac43 100644 --- a/core/modules/menu_link/lib/Drupal/menu_link/Plugin/Core/Entity/MenuLink.php +++ b/core/modules/menu_link/lib/Drupal/menu_link/Plugin/Core/Entity/MenuLink.php @@ -29,6 +29,7 @@ * static_cache = FALSE, * base_table = "menu_links", * uri_callback = "menu_link_uri", + * translatable = TRUE, * entity_keys = { * "id" = "mlid", * "label" = "link_title",