Search for %s
- Search 7.x for %s
- Search 8.9.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| EntityTestComputedFieldNormalizerTest::testPost | function | core/ |
Tests a POST request for an entity, plus edge cases to ensure good DX. |
| EntityTestComputedFieldTest | class | core/ |
JSON:API integration test for the "EntityTestComputedField" content entity type. |
| EntityTestComputedFieldTest.php | file | core/ |
|
| EntityTestComputedFieldTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| EntityTestComputedFieldTest::$entity | property | core/ |
|
| EntityTestComputedFieldTest::$entityTypeId | property | core/ |
The tested entity type. |
| EntityTestComputedFieldTest::$modules | property | core/ |
Modules to enable. |
| EntityTestComputedFieldTest::$patchProtectedFieldNames | property | core/ |
The fields that are protected against modification during PATCH requests. |
| EntityTestComputedFieldTest::$resourceTypeName | property | core/ |
The name of the tested JSON:API resource type. |
| EntityTestComputedFieldTest::createEntity | function | core/ |
Creates the entity to be tested. |
| EntityTestComputedFieldTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| EntityTestComputedFieldTest::getExpectedCacheTags | function | core/ |
The expected cache tags for the GET/HEAD response of the test entity. |
| EntityTestComputedFieldTest::getExpectedDocument | function | core/ |
Returns the expected JSON:API document for the entity. |
| EntityTestComputedFieldTest::getPostDocument | function | core/ |
Returns the JSON:API POST document. |
| EntityTestComputedFieldTest::getSparseFieldSets | function | core/ |
Returns an array of sparse fields sets to test. |
| EntityTestComputedFieldTest::setUpAuthorization | function | core/ |
Sets up the necessary authorization. |
| EntityTestConstraints | class | core/ |
Defines a test class for testing the definition of entity level constraints. |
| EntityTestConstraints.php | file | core/ |
|
| EntityTestConstraints::baseFieldDefinitions | function | core/ |
Provides base field definitions for an entity type. |
| EntityTestConstraintViolation | class | core/ |
Defines the test entity class for testing entity constraint violations. |
| EntityTestConstraintViolation.php | file | core/ |
|
| EntityTestConstraintViolation::baseFieldDefinitions | function | core/ |
Provides base field definitions for an entity type. |
| EntityTestContainerFactoryPlugin | class | core/ |
A dummy constraint for testing \Drupal\Core\Validation\ConstraintFactory. |
| EntityTestContainerFactoryPlugin.php | file | core/ |
|
| EntityTestContainerFactoryPlugin::create | function | core/ |
Creates an instance of the plugin. |
| EntityTestController | class | core/ |
Controller routines for entity_test routes. |
| EntityTestController.php | file | core/ |
|
| EntityTestController::listEntitiesAlphabetically | function | core/ |
List entities of the given entity type labels, sorted alphabetically. |
| EntityTestController::listEntitiesEmpty | function | core/ |
Empty list of entities of the given entity type. |
| EntityTestController::listReferencingEntities | function | core/ |
List entity_test entities referencing the given entity. |
| EntityTestController::testAdmin | function | core/ |
Returns an empty page. |
| EntityTestDateonlyTest | class | core/ |
Tests the datetime field constraint with 'date' items. |
| EntityTestDateonlyTest.php | file | core/ |
|
| EntityTestDateonlyTest::$dateString | property | core/ |
The ISO date string to use throughout the test. |
| EntityTestDateonlyTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| EntityTestDateonlyTest::$fieldName | property | core/ |
Datetime test field name. |
| EntityTestDateonlyTest::$modules | property | core/ |
Modules to install. |
| EntityTestDateonlyTest::assertNormalizationEdgeCases | function | core/ |
Asserts normalization-specific edge cases. |
| EntityTestDateonlyTest::createEntity | function | core/ |
Creates the entity to be tested. |
| EntityTestDateonlyTest::getExpectedNormalizedEntity | function | core/ |
Returns the expected normalization of the entity. |
| EntityTestDateonlyTest::getNormalizedPostEntity | function | core/ |
Returns the normalized POST entity. |
| EntityTestDateonlyTest::setUp | function | core/ |
|
| EntityTestDateRangeTest | class | core/ |
Tests the 'daterange' field's normalization. |
| EntityTestDateRangeTest.php | file | core/ |
|
| EntityTestDateRangeTest::$dateString | property | core/ |
The ISO date string to use throughout the test. |
| EntityTestDateRangeTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| EntityTestDateRangeTest::$fieldName | property | core/ |
Datetime Range test field name. |
| EntityTestDateRangeTest::$modules | property | core/ |
Modules to install. |
| EntityTestDateRangeTest::assertNormalizationEdgeCases | function | core/ |
Asserts normalization-specific edge cases. |
| EntityTestDateRangeTest::createEntity | function | core/ |
Creates the entity to be tested. |
Pagination
- Previous page
- Page 430
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.