You are here

class EntityManager in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/EntityManager.php \Drupal\Core\Entity\EntityManager

Provides a wrapper around many other services relating to entities.

@todo Enforce the deprecation of each method once https://www.drupal.org/node/2578361 is in.

Hierarchy

Expanded class hierarchy of EntityManager

Deprecated

in Drupal 8.0.0, will be removed before Drupal 9.0.0.

2 files declare their use of EntityManager
CommentTypeDeleteForm.php in core/modules/comment/src/Form/CommentTypeDeleteForm.php
Contains \Drupal\comment\Form\CommentTypeDeleteForm.
EntityManagerTest.php in core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php
Contains \Drupal\Tests\Core\Entity\EntityManagerTest.
1 string reference to 'EntityManager'
core.services.yml in core/core.services.yml
core/core.services.yml
1 service uses EntityManager
entity.manager in core/core.services.yml
Drupal\Core\Entity\EntityManager

File

core/lib/Drupal/Core/Entity/EntityManager.php, line 23
Contains \Drupal\Core\Entity\EntityManager.

Namespace

Drupal\Core\Entity
View source
class EntityManager implements EntityManagerInterface, ContainerAwareInterface {
  use ContainerAwareTrait;

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function clearCachedDefinitions() {
    $this->container
      ->get('entity_type.manager')
      ->clearCachedDefinitions();

    // @todo None of these are plugin managers, and they should not co-opt
    //   this method for managing its caches. Remove in
    //   https://www.drupal.org/node/2549143.
    $this->container
      ->get('entity_type.bundle.info')
      ->clearCachedBundles();
    $this->container
      ->get('entity_field.manager')
      ->clearCachedFieldDefinitions();
    $this->container
      ->get('entity_type.repository')
      ->clearCachedDefinitions();
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getDefinition($entity_type_id, $exception_on_invalid = TRUE) {
    return $this->container
      ->get('entity_type.manager')
      ->getDefinition($entity_type_id, $exception_on_invalid);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function hasHandler($entity_type, $handler_type) {
    return $this->container
      ->get('entity_type.manager')
      ->hasHandler($entity_type, $handler_type);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getStorage($entity_type) {
    return $this->container
      ->get('entity_type.manager')
      ->getStorage($entity_type);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getListBuilder($entity_type) {
    return $this->container
      ->get('entity_type.manager')
      ->getListBuilder($entity_type);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getFormObject($entity_type, $operation) {
    return $this->container
      ->get('entity_type.manager')
      ->getFormObject($entity_type, $operation);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getRouteProviders($entity_type) {
    return $this->container
      ->get('entity_type.manager')
      ->getRouteProviders($entity_type);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getViewBuilder($entity_type) {
    return $this->container
      ->get('entity_type.manager')
      ->getViewBuilder($entity_type);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getAccessControlHandler($entity_type) {
    return $this->container
      ->get('entity_type.manager')
      ->getAccessControlHandler($entity_type);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getHandler($entity_type, $handler_type) {
    return $this->container
      ->get('entity_type.manager')
      ->getHandler($entity_type, $handler_type);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function createHandlerInstance($class, EntityTypeInterface $definition = null) {
    return $this->container
      ->get('entity_type.manager')
      ->createHandlerInstance($class, $definition);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getBaseFieldDefinitions($entity_type_id) {
    return $this->container
      ->get('entity_field.manager')
      ->getBaseFieldDefinitions($entity_type_id);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getFieldDefinitions($entity_type_id, $bundle) {
    return $this->container
      ->get('entity_field.manager')
      ->getFieldDefinitions($entity_type_id, $bundle);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getFieldStorageDefinitions($entity_type_id) {
    return $this->container
      ->get('entity_field.manager')
      ->getFieldStorageDefinitions($entity_type_id);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function setFieldMap(array $field_map) {
    return $this->container
      ->get('entity_field.manager')
      ->setFieldMap($field_map);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getFieldMap() {
    return $this->container
      ->get('entity_field.manager')
      ->getFieldMap();
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getFieldMapByFieldType($field_type) {
    return $this->container
      ->get('entity_field.manager')
      ->getFieldMapByFieldType($field_type);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function onFieldDefinitionCreate(FieldDefinitionInterface $field_definition) {
    $this->container
      ->get('field_definition.listener')
      ->onFieldDefinitionCreate($field_definition);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function onFieldDefinitionUpdate(FieldDefinitionInterface $field_definition, FieldDefinitionInterface $original) {
    $this->container
      ->get('field_definition.listener')
      ->onFieldDefinitionUpdate($field_definition, $original);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function onFieldDefinitionDelete(FieldDefinitionInterface $field_definition) {
    $this->container
      ->get('field_definition.listener')
      ->onFieldDefinitionDelete($field_definition);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function clearCachedFieldDefinitions() {
    $this->container
      ->get('entity_field.manager')
      ->clearCachedFieldDefinitions();
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function clearCachedBundles() {
    $this->container
      ->get('entity_type.bundle.info')
      ->clearCachedBundles();
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getBundleInfo($entity_type) {
    return $this->container
      ->get('entity_type.bundle.info')
      ->getBundleInfo($entity_type);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getAllBundleInfo() {
    return $this->container
      ->get('entity_type.bundle.info')
      ->getAllBundleInfo();
  }

  /**
   * {@inheritdoc}
   */
  public function getExtraFields($entity_type_id, $bundle) {
    return $this->container
      ->get('entity_field.manager')
      ->getExtraFields($entity_type_id, $bundle);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getEntityTypeLabels($group = FALSE) {
    return $this->container
      ->get('entity_type.repository')
      ->getEntityTypeLabels($group);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getTranslationFromContext(EntityInterface $entity, $langcode = NULL, $context = array()) {
    return $this->container
      ->get('entity.repository')
      ->getTranslationFromContext($entity, $langcode, $context);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getAllViewModes() {
    return $this->container
      ->get('entity_display.repository')
      ->getAllViewModes();
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getViewModes($entity_type_id) {
    return $this->container
      ->get('entity_display.repository')
      ->getViewModes($entity_type_id);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getAllFormModes() {
    return $this->container
      ->get('entity_display.repository')
      ->getAllFormModes();
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getFormModes($entity_type_id) {
    return $this->container
      ->get('entity_display.repository')
      ->getFormModes($entity_type_id);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getViewModeOptions($entity_type_id) {
    return $this->container
      ->get('entity_display.repository')
      ->getViewModeOptions($entity_type_id);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getFormModeOptions($entity_type_id) {
    return $this->container
      ->get('entity_display.repository')
      ->getFormModeOptions($entity_type_id);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getViewModeOptionsByBundle($entity_type_id, $bundle) {
    return $this->container
      ->get('entity_display.repository')
      ->getViewModeOptionsByBundle($entity_type_id, $bundle);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getFormModeOptionsByBundle($entity_type_id, $bundle) {
    return $this->container
      ->get('entity_display.repository')
      ->getFormModeOptionsByBundle($entity_type_id, $bundle);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function clearDisplayModeInfo() {
    $this->container
      ->get('entity_display.repository')
      ->clearDisplayModeInfo();
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function loadEntityByUuid($entity_type_id, $uuid) {
    return $this->container
      ->get('entity.repository')
      ->loadEntityByUuid($entity_type_id, $uuid);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function loadEntityByConfigTarget($entity_type_id, $target) {
    return $this->container
      ->get('entity.repository')
      ->loadEntityByConfigTarget($entity_type_id, $target);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getEntityTypeFromClass($class_name) {
    return $this->container
      ->get('entity_type.repository')
      ->getEntityTypeFromClass($class_name);
  }

  /**
   * {@inheritdoc}
   */
  public function onEntityTypeCreate(EntityTypeInterface $entity_type) {
    $this->container
      ->get('entity_type.listener')
      ->onEntityTypeCreate($entity_type);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function onEntityTypeUpdate(EntityTypeInterface $entity_type, EntityTypeInterface $original) {
    $this->container
      ->get('entity_type.listener')
      ->onEntityTypeUpdate($entity_type, $original);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function onEntityTypeDelete(EntityTypeInterface $entity_type) {
    $this->container
      ->get('entity_type.listener')
      ->onEntityTypeDelete($entity_type);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function onFieldStorageDefinitionCreate(FieldStorageDefinitionInterface $storage_definition) {
    $this->container
      ->get('field_storage_definition.listener')
      ->onFieldStorageDefinitionCreate($storage_definition);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function onFieldStorageDefinitionUpdate(FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original) {
    $this->container
      ->get('field_storage_definition.listener')
      ->onFieldStorageDefinitionUpdate($storage_definition, $original);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function onFieldStorageDefinitionDelete(FieldStorageDefinitionInterface $storage_definition) {
    $this->container
      ->get('field_storage_definition.listener')
      ->onFieldStorageDefinitionDelete($storage_definition);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function onBundleCreate($bundle, $entity_type_id) {
    $this->container
      ->get('entity_bundle.listener')
      ->onBundleCreate($bundle, $entity_type_id);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function onBundleDelete($bundle, $entity_type_id) {
    $this->container
      ->get('entity_bundle.listener')
      ->onBundleDelete($bundle, $entity_type_id);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getLastInstalledDefinition($entity_type_id) {
    return $this->container
      ->get('entity.last_installed_schema.repository')
      ->getLastInstalledDefinition($entity_type_id);
  }

  /**
   * {@inheritdoc}
   */
  public function useCaches($use_caches = FALSE) {
    $this->container
      ->get('entity_type.manager')
      ->useCaches($use_caches);

    // @todo EntityFieldManager is not a plugin manager, and should not co-opt
    //   this method for managing its caches.
    $this->container
      ->get('entity_field.manager')
      ->useCaches($use_caches);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getLastInstalledFieldStorageDefinitions($entity_type_id) {
    return $this->container
      ->get('entity.last_installed_schema.repository')
      ->getLastInstalledFieldStorageDefinitions($entity_type_id);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getDefinitions() {
    return $this->container
      ->get('entity_type.manager')
      ->getDefinitions();
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function hasDefinition($plugin_id) {
    return $this->container
      ->get('entity_type.manager')
      ->hasDefinition($plugin_id);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function createInstance($plugin_id, array $configuration = []) {
    return $this->container
      ->get('entity_type.manager')
      ->createInstance($plugin_id, $configuration);
  }

  /**
   * {@inheritdoc}
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getInstance(array $options) {
    return $this->container
      ->get('entity_type.manager')
      ->getInstance($options);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ContainerAwareTrait::$container protected property
ContainerAwareTrait::setContainer public function Sets the Container associated with this Controller.
EntityManager::clearCachedBundles Deprecated public function Overrides EntityTypeBundleInfoInterface::clearCachedBundles
EntityManager::clearCachedDefinitions Deprecated public function Overrides CachedDiscoveryInterface::clearCachedDefinitions
EntityManager::clearCachedFieldDefinitions Deprecated public function Overrides EntityFieldManagerInterface::clearCachedFieldDefinitions
EntityManager::clearDisplayModeInfo Deprecated public function Overrides EntityDisplayRepositoryInterface::clearDisplayModeInfo
EntityManager::createHandlerInstance Deprecated public function Overrides EntityTypeManagerInterface::createHandlerInstance
EntityManager::createInstance Deprecated public function Overrides FactoryInterface::createInstance
EntityManager::getAccessControlHandler Deprecated public function Overrides EntityTypeManagerInterface::getAccessControlHandler
EntityManager::getAllBundleInfo Deprecated public function Overrides EntityTypeBundleInfoInterface::getAllBundleInfo
EntityManager::getAllFormModes Deprecated public function Overrides EntityDisplayRepositoryInterface::getAllFormModes
EntityManager::getAllViewModes Deprecated public function Overrides EntityDisplayRepositoryInterface::getAllViewModes
EntityManager::getBaseFieldDefinitions Deprecated public function Overrides EntityFieldManagerInterface::getBaseFieldDefinitions
EntityManager::getBundleInfo Deprecated public function Overrides EntityTypeBundleInfoInterface::getBundleInfo
EntityManager::getDefinition Deprecated public function Overrides EntityTypeManagerInterface::getDefinition
EntityManager::getDefinitions Deprecated public function Overrides EntityTypeManagerInterface::getDefinitions
EntityManager::getEntityTypeFromClass Deprecated public function Overrides EntityTypeRepositoryInterface::getEntityTypeFromClass
EntityManager::getEntityTypeLabels Deprecated public function Overrides EntityTypeRepositoryInterface::getEntityTypeLabels
EntityManager::getExtraFields public function Gets the "extra fields" for a bundle. Overrides EntityFieldManagerInterface::getExtraFields
EntityManager::getFieldDefinitions Deprecated public function Overrides EntityFieldManagerInterface::getFieldDefinitions
EntityManager::getFieldMap Deprecated public function Overrides EntityFieldManagerInterface::getFieldMap
EntityManager::getFieldMapByFieldType Deprecated public function Overrides EntityFieldManagerInterface::getFieldMapByFieldType
EntityManager::getFieldStorageDefinitions Deprecated public function Overrides EntityFieldManagerInterface::getFieldStorageDefinitions
EntityManager::getFormModeOptions Deprecated public function Overrides EntityDisplayRepositoryInterface::getFormModeOptions
EntityManager::getFormModeOptionsByBundle Deprecated public function Overrides EntityDisplayRepositoryInterface::getFormModeOptionsByBundle
EntityManager::getFormModes Deprecated public function Overrides EntityDisplayRepositoryInterface::getFormModes
EntityManager::getFormObject Deprecated public function Overrides EntityTypeManagerInterface::getFormObject
EntityManager::getHandler Deprecated public function Overrides EntityTypeManagerInterface::getHandler
EntityManager::getInstance Deprecated public function Overrides MapperInterface::getInstance
EntityManager::getLastInstalledDefinition Deprecated public function Overrides EntityManagerInterface::getLastInstalledDefinition
EntityManager::getLastInstalledFieldStorageDefinitions Deprecated public function Overrides EntityManagerInterface::getLastInstalledFieldStorageDefinitions
EntityManager::getListBuilder Deprecated public function Overrides EntityTypeManagerInterface::getListBuilder
EntityManager::getRouteProviders Deprecated public function Overrides EntityTypeManagerInterface::getRouteProviders
EntityManager::getStorage Deprecated public function Overrides EntityTypeManagerInterface::getStorage
EntityManager::getTranslationFromContext Deprecated public function Overrides EntityRepositoryInterface::getTranslationFromContext
EntityManager::getViewBuilder Deprecated public function Overrides EntityTypeManagerInterface::getViewBuilder
EntityManager::getViewModeOptions Deprecated public function Overrides EntityDisplayRepositoryInterface::getViewModeOptions
EntityManager::getViewModeOptionsByBundle Deprecated public function Overrides EntityDisplayRepositoryInterface::getViewModeOptionsByBundle
EntityManager::getViewModes Deprecated public function Overrides EntityDisplayRepositoryInterface::getViewModes
EntityManager::hasDefinition Deprecated public function Overrides DiscoveryInterface::hasDefinition
EntityManager::hasHandler Deprecated public function Overrides EntityTypeManagerInterface::hasHandler
EntityManager::loadEntityByConfigTarget Deprecated public function Overrides EntityRepositoryInterface::loadEntityByConfigTarget
EntityManager::loadEntityByUuid Deprecated public function Overrides EntityRepositoryInterface::loadEntityByUuid
EntityManager::onBundleCreate Deprecated public function Overrides EntityBundleListenerInterface::onBundleCreate
EntityManager::onBundleDelete Deprecated public function Overrides EntityBundleListenerInterface::onBundleDelete
EntityManager::onEntityTypeCreate public function Reacts to the creation of the entity type. Overrides EntityTypeListenerInterface::onEntityTypeCreate
EntityManager::onEntityTypeDelete Deprecated public function Overrides EntityTypeListenerInterface::onEntityTypeDelete
EntityManager::onEntityTypeUpdate Deprecated public function Overrides EntityTypeListenerInterface::onEntityTypeUpdate
EntityManager::onFieldDefinitionCreate Deprecated public function Overrides FieldDefinitionListenerInterface::onFieldDefinitionCreate
EntityManager::onFieldDefinitionDelete Deprecated public function Overrides FieldDefinitionListenerInterface::onFieldDefinitionDelete
EntityManager::onFieldDefinitionUpdate Deprecated public function Overrides FieldDefinitionListenerInterface::onFieldDefinitionUpdate
EntityManager::onFieldStorageDefinitionCreate Deprecated public function Overrides FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate
EntityManager::onFieldStorageDefinitionDelete Deprecated public function Overrides FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete
EntityManager::onFieldStorageDefinitionUpdate Deprecated public function Overrides FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionUpdate
EntityManager::setFieldMap Deprecated public function Overrides EntityFieldManagerInterface::setFieldMap
EntityManager::useCaches public function Disable the use of caches. Overrides CachedDiscoveryInterface::useCaches