ENTITY_TEST_TYPES_MULTILINGUAL
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test/entity_test.module \ENTITY_TEST_TYPES_MULTILINGUAL
- 10 core/modules/system/tests/modules/entity_test/entity_test.module \ENTITY_TEST_TYPES_MULTILINGUAL
- 11.x core/modules/system/tests/modules/entity_test/entity_test.module \ENTITY_TEST_TYPES_MULTILINGUAL
Filter that limits test entity list to multilingual ones.
6 uses of ENTITY_TEST_TYPES_MULTILINGUAL
- EntityFormTest::testMultilingualFormCRUD in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityFormTest.php - Tests basic multilingual form CRUD functionality.
- EntityTranslationTest::testEntityTranslationAPI in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTranslationTest.php - Tests the Entity Translation API behavior.
- EntityTranslationTest::testLanguageChange in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTranslationTest.php - Tests that changing entity language does not break field language.
- EntityTranslationTest::testLanguageFallback in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTranslationTest.php - Tests language fallback applied to field and entity translations.
- EntityTranslationTest::testMultilingualProperties in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTranslationTest.php - Tests multilingual properties.
File
-
core/
modules/ system/ tests/ modules/ entity_test/ entity_test.module, line 32
Code
const ENTITY_TEST_TYPES_MULTILINGUAL = 2;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.