entity.repository

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

Class

Drupal\Core\Entity\EntityRepository
19 string references to entity.repository
AccountForm::create in core/modules/user/src/AccountForm.php
Instantiates a new instance of this class.
ContentEntityForm::create in core/lib/Drupal/Core/Entity/ContentEntityForm.php
Instantiates a new instance of this class.
DefaultSelection::create in core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php
Creates an instance of the plugin.
EditorFileReference::create in core/modules/editor/src/Plugin/Filter/EditorFileReference.php
Creates an instance of the plugin.
EntityArgument::create in core/modules/views/src/Plugin/views/argument/EntityArgument.php
Creates an instance of the plugin.

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