function content_moderation_entity_translation_delete
Same name in other branches
- 9 core/modules/content_moderation/content_moderation.module \content_moderation_entity_translation_delete()
- 10 core/modules/content_moderation/content_moderation.module \content_moderation_entity_translation_delete()
- 11.x core/modules/content_moderation/content_moderation.module \content_moderation_entity_translation_delete()
Implements hook_entity_translation_delete().
File
-
core/
modules/ content_moderation/ content_moderation.module, line 146
Code
function content_moderation_entity_translation_delete(EntityInterface $translation) {
return \Drupal::service('class_resolver')->getInstanceFromDefinition(EntityOperations::class)
->entityTranslationDelete($translation);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.