Search for entity

  1. Search 7.x for entity
  2. Search 9.5.x for entity
  3. Search 8.9.x for entity
  4. Search 10.3.x for entity
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Entity class core/modules/views/src/Plugin/views/argument_validator/Entity.php Defines an argument validator plugin for each entity type.
Entity class core/modules/views/src/Plugin/views/area/Entity.php Provides an area handler which renders an entity in a certain view mode.
Entity class core/modules/migrate/src/Plugin/migrate/destination/Entity.php Provides a generic destination to import entities.
Entity class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php
Entity class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php This class is a near-copy of tests/Doctrine/Tests/Common/Annotations/Ticket/DCOM58Entity.php, which is part of the Doctrine project: <http://www.doctrine-project.org>. It was copied from version 1.2.7.

All search results

Title Object type File name Summary
EntityResourceTestBase::assertNormalizationEdgeCases function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Asserts normalization-specific edge cases.
EntityResourceTestBase::assertPatchProtectedFieldNamesStructure function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Asserts structure of $patchProtectedFieldNames.
EntityResourceTestBase::assertResourceNotAvailable function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Asserts that a resource is unavailable: 404, 406 if it has canonical route.
EntityResourceTestBase::assertStoredEntityMatchesSentNormalization function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Asserts that the stored entity matches the sent normalization.
EntityResourceTestBase::castToString function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Transforms a normalization: casts all non-string types to strings.
EntityResourceTestBase::createAnotherEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Creates another entity to be tested.
EntityResourceTestBase::createEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Creates the entity to be tested.
EntityResourceTestBase::getEntityResourcePostUrl function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Gets an entity resource&#039;s POST URL.
EntityResourceTestBase::getEntityResourceUrl function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Gets an entity resource&#039;s GET/PATCH/DELETE URL.
EntityResourceTestBase::getExpectedCacheContexts function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
EntityResourceTestBase::getExpectedCacheTags function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The expected cache tags for the GET/HEAD response of the test entity.
EntityResourceTestBase::getExpectedNormalizedEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Returns the expected normalization of the entity.
EntityResourceTestBase::getExpectedUnauthorizedAccessCacheability function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Returns the expected cacheability of an unauthorized access response.
EntityResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Return the expected error message.
EntityResourceTestBase::getExpectedUnauthorizedEntityAccessCacheability function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The cacheability of unauthorized &#039;view&#039; entity access.
EntityResourceTestBase::getModifiedEntityForPatchTesting function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Clones the given entity and modifies all PATCH-protected fields.
EntityResourceTestBase::getModifiedEntityForPostTesting function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Gets the normalized POST entity with random values for its unique fields.
EntityResourceTestBase::getNormalizedPatchEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Returns the normalized PATCH entity.
EntityResourceTestBase::getNormalizedPostEntity function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Returns the normalized POST entity.
EntityResourceTestBase::makeNormalizationInvalid function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Makes the given entity normalization invalid.
EntityResourceTestBase::provisionEntityResource function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Provides an entity resource.
EntityResourceTestBase::setUp function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
EntityResourceTestBase::testDelete function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Tests a DELETE request for an entity, plus edge cases to ensure good DX.
EntityResourceTestBase::testGet function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Tests 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 @coversDefaultClass \Drupal\rest\Plugin\rest\resource\EntityResourceValidationTrait[[api-linebreak]]
@group rest
EntityResourceValidationTraitTest.php file core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php
EntityResourceValidationTraitTest::testFailedValidate function core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @covers ::validate[[api-linebreak]]
EntityResourceValidationTraitTest::testValidate function core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @covers ::validate[[api-linebreak]]
EntityResourceValidationTraitTestClass class core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php A test class to use to test EntityResourceValidationTrait.
EntityReverse class core/modules/views/src/Plugin/views/relationship/EntityReverse.php A relationship handlers which reverse entity references.
EntityReverse.php file core/modules/views/src/Plugin/views/relationship/EntityReverse.php
EntityReverse::$first_alias property core/modules/views/src/Plugin/views/relationship/EntityReverse.php
EntityReverse::$joinManager property core/modules/views/src/Plugin/views/relationship/EntityReverse.php The views plugin join manager.
EntityReverse::create function core/modules/views/src/Plugin/views/relationship/EntityReverse.php Creates an instance of the plugin.
EntityReverse::query function core/modules/views/src/Plugin/views/relationship/EntityReverse.php Called to implement a relationship in a query.
EntityReverse::__construct function core/modules/views/src/Plugin/views/relationship/EntityReverse.php Constructs an EntityReverse object.
EntityReverseJoinTest class core/modules/views/tests/src/Kernel/Plugin/EntityReverseJoinTest.php Tests the EntityReverse join plugin.
EntityReverseJoinTest.php file core/modules/views/tests/src/Kernel/Plugin/EntityReverseJoinTest.php
EntityReverseJoinTest::$testViews property core/modules/views/tests/src/Kernel/Plugin/EntityReverseJoinTest.php
EntityReverseJoinTest::testJoinThroughRelationship function core/modules/views/tests/src/Kernel/Plugin/EntityReverseJoinTest.php Tests that the EntityReverse plugin loads the correct join plugin.
EntityRevision class core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Provides entity revision destination plugin.
EntityRevision class core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Mock that exposes from internal methods for testing.
EntityRevision.php file core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php
EntityRevision::getEntity function core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php Gets the entity.
EntityRevision::getEntity function core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php Allow public access for testing.

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