You are here

service entity_type.repository in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \entity_type.repository
  2. 10 core/core.services.yml \entity_type.repository

Class

Drupal\Core\Entity\EntityTypeRepository
10 string references to entity_type.repository
ContentLanguageSettingsUnitTest::testLoadByEntityTypeBundle in core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php
@covers ::loadByEntityTypeBundle
EntityBase::create in core/lib/Drupal/Core/Entity/EntityBase.php
Constructs a new entity object, without permanently saving it.
EntityBase::load in core/lib/Drupal/Core/Entity/EntityBase.php
Loads an entity.
EntityBase::loadMultiple in core/lib/Drupal/Core/Entity/EntityBase.php
Loads one or more entities.
EntityUnitTest::testCreate in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
@covers ::create

... See full list

File

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

View source
  1. class: Drupal\Core\Entity\EntityTypeRepository
  2. arguments:
  3. - '@entity_type.manager'