function content_translation_test_entity_translation_delete

Same name in other branches
  1. 10 core/modules/content_translation/tests/modules/content_translation_test/content_translation_test.module \content_translation_test_entity_translation_delete()

Implements hook_entity_translation_delete().

File

core/modules/content_translation/tests/modules/content_translation_test/content_translation_test.module, line 77

Code

function content_translation_test_entity_translation_delete(EntityInterface $translation) {
    \Drupal::state()->set('content_translation_test.translation_deleted', TRUE);
}

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