function lingotek_list_entities_with_language in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.5 lingotek.util.inc \lingotek_list_entities_with_language()
- 7.6 lingotek.util.inc \lingotek_list_entities_with_language()
1 call to lingotek_list_entities_with_language()
- lingotek_batch_identify_content in ./
lingotek.batch.inc - Batch Create: Lingotek Identify Content - create informative lingonode data (in lingotek table) for pre-existing content
File
- ./
lingotek.util.inc, line 1350 - Utility functions.
Code
function lingotek_list_entities_with_language($entity_type, $bundle, $language) {
$ids = array();
$fields = field_info_instances($entity_type, $bundle);
foreach ($fields as $name => $field_info) {
$ids = $ids + lingotek_list_entities_with_field_in_language($entity_type, $bundle, $name, $language);
}
return $ids;
}