Same name and namespace in other branches
  1. 8.9.x core/core.services.yml \entity.repository
  2. 9 core/core.services.yml \entity.repository

Class

Drupal\Core\Entity\EntityRepository
52 string references to entity.repository
AssertConfigEntityImportTrait::assertConfigEntityImport in core/modules/config/tests/src/Traits/AssertConfigEntityImportTrait.php
Asserts that a config entity can be imported without changing it.
BlockContentEntityReferenceSelectionTest::setUp in core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php
BookAdminEditForm::create in core/modules/book/src/Form/BookAdminEditForm.php
Instantiates a new instance of this class.
BookOutlineForm::create in core/modules/book/src/Form/BookOutlineForm.php
Instantiates a new instance of this class.
CommentViewBuilder::createInstance in core/modules/comment/src/CommentViewBuilder.php
Instantiates a new instance of this entity handler.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Entity\EntityRepository
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@language_manager'
  5. - '@context.repository'