service entity.repository in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \entity.repository
- 9 core/core.services.yml \entity.repository
Class
Drupal\Core\Entity\EntityRepository75 string references to entity.repository
- AccountForm::create in core/
modules/ user/ src/ AccountForm.php - Instantiates a new instance of this class.
- 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.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Entity\EntityRepository
- arguments:
- - '@entity_type.manager'
- - '@language_manager'
- - '@context.repository'