You are here

service entity_type.repository in Drupal 8

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

Class

Drupal\Core\Entity\EntityTypeRepository
14 string references to entity_type.repository
ContentEntityNormalizer::__construct in core/modules/hal/src/Normalizer/ContentEntityNormalizer.php
Constructs an ContentEntityNormalizer object.
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.

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