function config_translation_test_entity_type_alter
Same name in other branches
- 9 core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module \config_translation_test_entity_type_alter()
- 8.9.x core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module \config_translation_test_entity_type_alter()
- 10 core/modules/config_translation/tests/modules/config_translation_test/config_translation_test.module \config_translation_test_entity_type_alter()
Implements hook_entity_type_alter().
File
-
core/
modules/ config_translation/ tests/ modules/ config_translation_test/ config_translation_test.module, line 24
Code
function config_translation_test_entity_type_alter(array &$entity_types) {
// Remove entity definition for these entity types from config_test module.
unset($entity_types['config_test_no_status']);
unset($entity_types['config_query_test']);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.