function lingotek_entity_info_alter in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lingotek.module \lingotek_entity_info_alter()
- 7.2 lingotek.module \lingotek_entity_info_alter()
- 7.3 lingotek.module \lingotek_entity_info_alter()
- 7.4 lingotek.module \lingotek_entity_info_alter()
- 7.6 lingotek.module \lingotek_entity_info_alter()
Implements hook_entity_info_alter().
File
- ./
lingotek.module, line 1805
Code
function lingotek_entity_info_alter(&$entity_info) {
if (isset($entity_info['comment'])) {
$entity_info['comment']['translation']['lingotek'] = TRUE;
}
if (isset($entity_info['field_collection_item'])) {
$entity_info['field_collection_item']['translation']['lingotek'] = TRUE;
}
if (isset($entity_info['message_type'])) {
$entity_info['message_type']['translation']['lingotek'] = TRUE;
}
if (isset($entity_info['taxonomy_term'])) {
$entity_info['taxonomy_term']['translation']['lingotek'] = TRUE;
}
}