function entity_test_entity_test_mul_translation_delete

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/entity_test/entity_test.module \entity_test_entity_test_mul_translation_delete()
  2. 8.9.x core/modules/system/tests/modules/entity_test/entity_test.module \entity_test_entity_test_mul_translation_delete()
  3. 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 545

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.