function lingotek_field_attach_delete_bundle in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lingotek.module \lingotek_field_attach_delete_bundle()
File
- ./
lingotek.module, line 2734
Code
function lingotek_field_attach_delete_bundle($entity_type, $bundle, $instances) {
$entity_profiles = variable_get('lingotek_entity_profiles');
if (isset($entity_profiles[$entity_type][$bundle])) {
unset($entity_profiles[$entity_type][$bundle]);
variable_set('lingotek_entity_profiles', $entity_profiles);
}
}