You are here

constant ENTITY_TEST_TYPES_ROUTING in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/entity_test/entity_test.module \ENTITY_TEST_TYPES_ROUTING
  2. 9 core/modules/system/tests/modules/entity_test/entity_test.module \ENTITY_TEST_TYPES_ROUTING

Filter that limits test entity list to routeable ones.

3 uses of ENTITY_TEST_TYPES_ROUTING
EntityTestLocalTasks::getDerivativeDefinitions in core/modules/system/tests/modules/entity_test/src/Plugin/Derivative/EntityTestLocalTasks.php
Gets the definition of all derivatives of a base plugin.
EntityTestRoutes::routes in core/modules/system/tests/modules/entity_test/src/Routing/EntityTestRoutes.php
Returns an array of route objects.
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 37
Test module for the entity API providing several entity types for testing.

Code

const ENTITY_TEST_TYPES_ROUTING = 3;