Search for source

  1. Search 7.x for source
  2. Search 9.5.x for source
  3. Search 10.3.x for source
  4. Search 11.x for source
  5. Other projects
Title Object type File name Summary
EntityResourceTestBase::testGet function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Test a GET request for an entity, plus edge cases to ensure good DX.
EntityResourceTestBase::testPatch function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Tests a PATCH request for an entity, plus edge cases to ensure good DX.
EntityResourceTestBase::testPost function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Tests a POST request for an entity, plus edge cases to ensure good DX.
EntityResourceValidationTrait trait core/modules/rest/src/Plugin/rest/resource/EntityResourceValidationTrait.php @internal
@todo Consider making public in https://www.drupal.org/node/2300677
EntityResourceValidationTrait.php file core/modules/rest/src/Plugin/rest/resource/EntityResourceValidationTrait.php
EntityResourceValidationTrait::validate function core/modules/rest/src/Plugin/rest/resource/EntityResourceValidationTrait.php Verifies that an entity does not violate any validation constraints.
EntityResourceValidationTraitTest class core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @group rest
@coversDefaultClass \Drupal\rest\Plugin\rest\resource\EntityResourceValidationTrait
EntityResourceValidationTraitTest.php file core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php
EntityResourceValidationTraitTest::testFailedValidate function core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @covers ::validate
EntityResourceValidationTraitTest::testValidate function core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @covers ::validate
EntityResourceValidationTraitTestClass class core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php A test class to use to test EntityResourceValidationTrait.
EntityTestBundleResourceTestBase class core/modules/rest/tests/src/Functional/EntityResource/EntityTestBundle/EntityTestBundleResourceTestBase.php
EntityTestBundleResourceTestBase class core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php
EntityTestBundleResourceTestBase.php file core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php
EntityTestBundleResourceTestBase.php file core/modules/rest/tests/src/Functional/EntityResource/EntityTestBundle/EntityTestBundleResourceTestBase.php
EntityTestBundleResourceTestBase::$entity property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php
EntityTestBundleResourceTestBase::$entityTypeId property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php The tested entity type.
EntityTestBundleResourceTestBase::$modules property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php Modules to install.
EntityTestBundleResourceTestBase::$patchProtectedFieldNames property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php The fields that are protected against modification during PATCH requests.
EntityTestBundleResourceTestBase::createEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php Creates the entity to be tested.
EntityTestBundleResourceTestBase::getExpectedNormalizedEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php Returns the expected normalization of the entity.
EntityTestBundleResourceTestBase::getNormalizedPostEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php Returns the normalized POST entity.
EntityTestBundleResourceTestBase::setUpAuthorization function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleResourceTestBase.php Sets up the necessary authorization.
EntityTestLabelResourceTestBase class core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php
EntityTestLabelResourceTestBase class core/modules/rest/tests/src/Functional/EntityResource/EntityTestLabel/EntityTestLabelResourceTestBase.php
EntityTestLabelResourceTestBase.php file core/modules/rest/tests/src/Functional/EntityResource/EntityTestLabel/EntityTestLabelResourceTestBase.php
EntityTestLabelResourceTestBase.php file core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php
EntityTestLabelResourceTestBase::$entity property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php
EntityTestLabelResourceTestBase::$entityTypeId property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php The tested entity type.
EntityTestLabelResourceTestBase::$modules property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php Modules to install.
EntityTestLabelResourceTestBase::$patchProtectedFieldNames property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php The fields that are protected against modification during PATCH requests.
EntityTestLabelResourceTestBase::createEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php Creates the entity to be tested.
EntityTestLabelResourceTestBase::getExpectedCacheContexts function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
EntityTestLabelResourceTestBase::getExpectedNormalizedEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php Returns the expected normalization of the entity.
EntityTestLabelResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php Return the expected error message.
EntityTestLabelResourceTestBase::getNormalizedPostEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php Returns the normalized POST entity.
EntityTestLabelResourceTestBase::setUpAuthorization function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php Sets up the necessary authorization.
EntityTestMapFieldResourceTestBase class core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php
EntityTestMapFieldResourceTestBase.php file core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php
EntityTestMapFieldResourceTestBase::$entity property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php
EntityTestMapFieldResourceTestBase::$entityTypeId property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php The tested entity type.
EntityTestMapFieldResourceTestBase::$mapValue property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php The complex nested value to assign to a @FieldType=map field.
EntityTestMapFieldResourceTestBase::$modules property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php Modules to install.
EntityTestMapFieldResourceTestBase::$patchProtectedFieldNames property core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php The fields that are protected against modification during PATCH requests.
EntityTestMapFieldResourceTestBase::createEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php Creates the entity to be tested.
EntityTestMapFieldResourceTestBase::getExpectedCacheContexts function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
EntityTestMapFieldResourceTestBase::getExpectedNormalizedEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php Returns the expected normalization of the entity.
EntityTestMapFieldResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php Return the expected error message.
EntityTestMapFieldResourceTestBase::getNormalizedPostEntity function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php Returns the normalized POST entity.
EntityTestMapFieldResourceTestBase::setUpAuthorization function core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php Sets up the necessary authorization.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.