entity.repository

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

Class

Drupal\Core\Entity\EntityRepository
32 string references to entity.repository
AccountForm::create in core/modules/user/src/AccountForm.php
Instantiates a new instance of this class.
BlockContentEntityReferenceSelectionTest::setUp in core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php
BookManagerDeprecationTest::testOptionalParametersDeprecation in core/modules/book/tests/src/Kernel/BookManagerDeprecationTest.php
@covers ::__construct[[api-linebreak]]
BulkForm::create in core/modules/views/src/Plugin/views/field/BulkForm.php
Creates an instance of the plugin.
CommentController::create in core/modules/comment/src/Controller/CommentController.php
Instantiates a new instance of this class.

... See full list

File

core/core.services.yml

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

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