You are here

function entity_test_entity_test_mul_translation_delete in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/entity_test/entity_test.module \entity_test_entity_test_mul_translation_delete()
  2. 10 core/modules/system/tests/modules/entity_test/entity_test.module \entity_test_entity_test_mul_translation_delete()

Implements hook_ENTITY_TYPE_translation_delete() for 'entity_test_mul'.

File

core/modules/system/tests/modules/entity_test/entity_test.module, line 536
Test module for the entity API providing several entity types for testing.

Code

function entity_test_entity_test_mul_translation_delete(EntityInterface $translation) {
  _entity_test_record_hooks('entity_test_mul_translation_delete', $translation
    ->language()
    ->getId());
}