language_entity_bundle_delete($entity_type_id, $bundle)
Implements hook_entity_bundle_delete().
File
- core/modules/language/language.module, line 217
- Add language handling functionality to Drupal.
Code
function language_entity_bundle_delete($entity_type_id, $bundle) { // Remove the content language settings associated with the bundle. $settings = ContentLanguageSettings::loadByEntityTypeBundle($entity_type_id, $bundle); if (!$settings->isNew()) { $settings->delete(); } }
Please login to continue.