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

... See full list

File

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

Code

const ENTITY_TEST_TYPES_MULTILINGUAL = 2;