Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 10.3.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
EntityRepository::getActiveMultiple function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the active entity variants matching the specified context.
EntityRepository::getCanonical function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the canonical entity variant matching the specified context.
EntityRepository::getCanonicalMultiple function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the canonical entity variants matching the specified context.
EntityRepository::getContentLanguageFromContexts function core/lib/Drupal/Core/Entity/EntityRepository.php Retrieves the current content language from the specified contexts.
EntityRepository::getLatestTranslationAffectedRevision function core/lib/Drupal/Core/Entity/EntityRepository.php Returns the latest revision translation of the specified entity.
EntityRepository::getTranslationFromContext function core/lib/Drupal/Core/Entity/EntityRepository.php Gets the entity translation to be used in the given context.
EntityRepository::loadEntityByConfigTarget function core/lib/Drupal/Core/Entity/EntityRepository.php Loads an entity by the config target identifier.
EntityRepository::loadEntityByUuid function core/lib/Drupal/Core/Entity/EntityRepository.php Loads an entity by UUID.
EntityRepository::loadRevision function core/lib/Drupal/Core/Entity/EntityRepository.php Loads the specified entity revision.
EntityRepository::__construct function core/lib/Drupal/Core/Entity/EntityRepository.php Constructs a new EntityRepository.
EntityRepositoryInterface interface core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Provides an interface for an entity repository.
EntityRepositoryInterface.php file core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php
EntityRepositoryInterface::CONTEXT_ID_LEGACY_CONTEXT_OPERATION constant core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php
EntityRepositoryInterface::getActive function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Retrieves the active entity variant matching the specified context.
EntityRepositoryInterface::getActiveMultiple function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Retrieves the active entity variants matching the specified context.
EntityRepositoryInterface::getCanonical function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Retrieves the canonical entity variant matching the specified context.
EntityRepositoryInterface::getCanonicalMultiple function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Retrieves the canonical entity variants matching the specified context.
EntityRepositoryInterface::getTranslationFromContext function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Gets the entity translation to be used in the given context.
EntityRepositoryInterface::loadEntityByConfigTarget function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Loads an entity by the config target identifier.
EntityRepositoryInterface::loadEntityByUuid function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Loads an entity by UUID.
EntityRepositoryTest class core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Tests the entity repository.
EntityRepositoryTest class core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php @coversDefaultClass \Drupal\Core\Entity\EntityRepository
@group Entity
EntityRepositoryTest.php file core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php
EntityRepositoryTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php
EntityRepositoryTest::$contextRepository property core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php The context repository.
EntityRepositoryTest::$entityRepository property core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php The entity repository under test.
EntityRepositoryTest::$entityRepository property core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php The entity repository.
EntityRepositoryTest::$entityTypeManager property core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php The entity type manager.
EntityRepositoryTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php The entity type manager.
EntityRepositoryTest::$languageManager property core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php The language manager.
EntityRepositoryTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Modules to enable.
EntityRepositoryTest::assertEntityType function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Asserts that the entity has the expected entity type ID
EntityRepositoryTest::doTestLanguageFallback function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Check that language fallback is applied.
EntityRepositoryTest::getLanguageContexts function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Returns a set of language contexts matching the specified language.
EntityRepositoryTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php
EntityRepositoryTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php
EntityRepositoryTest::testGetActive function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Tests retrieving active variants.
EntityRepositoryTest::testGetCanonical function core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php Tests retrieving canonical variants.
EntityRepositoryTest::testGetTranslationFromContext function core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php Tests the getTranslationFromContext() method.
EntityResource::$configFactory property core/modules/rest/src/Plugin/rest/resource/EntityResource.php The config factory.
EntityResource::$entityRepository property core/modules/jsonapi/src/Controller/EntityResource.php The entity repository.
EntityResource::$resourceTypeRepository property core/modules/jsonapi/src/Controller/EntityResource.php The resource type repository.
EntityResource::addToRelationshipData function core/modules/jsonapi/src/Controller/EntityResource.php Adds a relationship to a to-many relationship.
EntityResourcePostRouteSubscriber::$resourceConfigStorage property core/modules/rest/src/EventSubscriber/EntityResourcePostRouteSubscriber.php The REST resource config storage.
EntityResourceTestBase::$entityStorage property core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php The entity storage.
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.
EntityRevisionParamConverter::$entityRepository property core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php The entity repository.
EntityRevisionTest::$storage property core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php
EntityRevisionTranslationTest::testIsAnyStoredRevisionTranslated function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php Tests that revision translations are correctly detected.

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