entity.repository

Same name in other branches
  1. 9 core/core.services.yml \entity.repository
  2. 10 core/core.services.yml \entity.repository

Class

Drupal\Core\Entity\EntityRepository
66 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
BookOutlineForm::create in core/modules/book/src/Form/BookOutlineForm.php
Instantiates a new instance of this class.
BulkForm::create in core/modules/views/src/Plugin/views/field/BulkForm.php
Creates an instance of the plugin.
BulkForm::__construct in core/modules/views/src/Plugin/views/field/BulkForm.php
Constructs a new BulkForm object.

... 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.