Overrides \Drupal\translation_entity\EntityTranslationControllerInterface::removeTranslation().
Overrides EntityTranslationController::removeTranslation
public function removeTranslation(EntityInterface $entity, $langcode) {
$translation = $entity
->getTranslation($langcode);
foreach ($translation
->getPropertyDefinitions() as $property_name => $langcode) {
$translation->{$property_name} = array();
}
}