Same name and namespace in other branches
  1. 8.9.x core/modules/system/tests/modules/entity_test/entity_test.module \ENTITY_TEST_TYPES_REVISABLE
  2. 9 core/modules/system/tests/modules/entity_test/entity_test.module \ENTITY_TEST_TYPES_REVISABLE

Filter that limits test entity list to revisable ones.

3 uses of ENTITY_TEST_TYPES_REVISABLE
EntityRevisionsTest::testRevisions in core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php
Check node revision related operations.
EntityRevisionTranslationTest::testSetNewRevision in core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php
@covers \Drupal\Core\Entity\ContentEntityBase::setNewRevision
entity_test_entity_types in core/modules/system/tests/modules/entity_test/entity_test.module
Returns a list of test entity types.

File

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

Code

const ENTITY_TEST_TYPES_REVISABLE = 1;