You are here

function lingotek_get_disabled_bundles in Lingotek Translation 7.5

Same name and namespace in other branches
  1. 7.7 lingotek.util.inc \lingotek_get_disabled_bundles()
  2. 7.6 lingotek.util.inc \lingotek_get_disabled_bundles()

Returns an array of disabled bundles for a given entity_type

Return value

Array of bundle key values (e.g., 'article', 'page').

4 calls to lingotek_get_disabled_bundles()
lingotek_cleanup_field_collection_fields in ./lingotek.util.inc
Clean up field-collection fields
lingotek_cleanup_message_types in ./lingotek.util.inc
Set all message types with empty or undefined languages to be the site's default language
lingotek_field_language_data_cleanup_batch_create in ./lingotek.batch.inc
Field Language Data Cleanup Utility
lingotek_list_entities_with_field_in_language_by_bundle in ./lingotek.util.inc

File

./lingotek.util.inc, line 500
Utility functions.

Code

function lingotek_get_disabled_bundles($entity_type) {
  return lingotek_get_bundles_by_profile($entity_type, LingotekSync::PROFILE_DISABLED);
}