interface EntityManagerInterface

Provides an interface for entity type managers.

Hierarchy

Expanded class hierarchy of EntityManagerInterface

All classes that implement EntityManagerInterface

Deprecated

in drupal:8.0.0 and is removed from drupal:9.0.0.

See also

https://www.drupal.org/node/2549139

8 files declare their use of EntityManagerInterface
BundleConfigImportValidate.php in core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php
ConfigManager.php in core/lib/Drupal/Core/Config/ConfigManager.php
ContentEntityFormTest.php in core/tests/Drupal/Tests/Core/Entity/ContentEntityFormTest.php
EntityConverter.php in core/lib/Drupal/Core/ParamConverter/EntityConverter.php
EntityRouteProviderSubscriber.php in core/lib/Drupal/Core/EventSubscriber/EntityRouteProviderSubscriber.php

... See full list

File

core/lib/Drupal/Core/Entity/EntityManagerInterface.php, line 15

Namespace

Drupal\Core\Entity
View source
interface EntityManagerInterface extends EntityTypeListenerInterface, EntityBundleListenerInterface, FieldStorageDefinitionListenerInterface, FieldDefinitionListenerInterface, EntityTypeManagerInterface, EntityTypeRepositoryInterface, EntityTypeBundleInfoInterface, EntityDisplayRepositoryInterface, EntityFieldManagerInterface, EntityRepositoryInterface {
  
  /**
   * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use
   *   \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::getLastInstalledDefinition()
   *   instead.
   *
   * @see https://www.drupal.org/node/2549139
   */
  public function getLastInstalledDefinition($entity_type_id);
  
  /**
   * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use
   *   \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::getLastInstalledFieldStorageDefinitions()
   *   instead.
   *
   * @see https://www.drupal.org/node/2549139
   */
  public function getLastInstalledFieldStorageDefinitions($entity_type_id);

}

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