Révision a1cafe7e
Ajouté par Assos Assos il y a plus de 4 ans
drupal7/sites/all/modules/field_collection/includes/translation.handler.field_collection_item.inc | ||
---|---|---|
42 | 42 |
// language. |
43 | 43 |
if (($host_entity_type = $this->entity->hostEntityType()) && entity_translation_enabled($host_entity_type) && ($host_entity = $this->entity->hostEntity())) { |
44 | 44 |
$handler = $this->factory->getHandler($host_entity_type, $host_entity); |
45 |
$langcode = $handler->getFormLanguage();
|
|
45 |
$langcode = $handler->getLanguage(); |
|
46 | 46 |
} |
47 | 47 |
// If the host entity is not translatable, use the default language |
48 | 48 |
// fallback. |
Formats disponibles : Unified diff
Weekly update of contrib modules