service entity.manager in Drupal 8
Class
Drupal\Core\Entity\EntityManager11 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.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Entity\EntityManager
- parent: container.trait
- deprecated: 'The "%service_id%" service is deprecated. You should use the ''entity_type.manager'' service instead.'