entity.manager

Class

Drupal\Core\Entity\EntityManager
11 string references to entity.manager
ConfigManager::getEntityManager in core/lib/Drupal/Core/Config/ConfigManager.php
Gets the entity manager.
ControllerBase::entityManager in core/lib/Drupal/Core/Controller/ControllerBase.php
Retrieves the entity manager service.
Drupal::entityManager in core/lib/Drupal.php
Retrieves the entity manager service.
DrupalTest::testEntityManager in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the entityManager() method.
EntityFormTest::testGet in core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php
Tests that __get triggers proper deprecation errors.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Entity\EntityManager
  2. parent: container.trait
  3. deprecated: 'The "%service_id%" service is deprecated. You should use the ''entity_type.manager'' service instead.'

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