interface EntityManagerInterface
Provides an interface for entity type managers.
Hierarchy
- interface \Drupal\Core\Entity\EntityBundleListenerInterface; interface \Drupal\Core\Entity\EntityDisplayRepositoryInterface; interface \Drupal\Core\Entity\EntityFieldManagerInterface; interface \Drupal\Core\Entity\EntityRepositoryInterface; interface \Drupal\Core\Entity\EntityTypeBundleInfoInterface; interface \Drupal\Core\Entity\EntityTypeListenerInterface; interface \Drupal\Core\Entity\EntityTypeManagerInterface extends \Drupal\Component\Plugin\PluginManagerInterface, \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface; interface \Drupal\Core\Entity\EntityTypeRepositoryInterface; interface \Drupal\Core\Field\FieldDefinitionListenerInterface; interface \Drupal\Core\Field\FieldStorageDefinitionListenerInterface
- interface \Drupal\Core\Entity\EntityManagerInterface extends \Drupal\Core\Entity\EntityTypeListenerInterface, \Drupal\Core\Entity\EntityBundleListenerInterface, \Drupal\Core\Field\FieldStorageDefinitionListenerInterface, \Drupal\Core\Field\FieldDefinitionListenerInterface, \Drupal\Core\Entity\EntityTypeManagerInterface, \Drupal\Core\Entity\EntityTypeRepositoryInterface, \Drupal\Core\Entity\EntityTypeBundleInfoInterface, \Drupal\Core\Entity\EntityDisplayRepositoryInterface, \Drupal\Core\Entity\EntityFieldManagerInterface, \Drupal\Core\Entity\EntityRepositoryInterface
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
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityManagerInterface.php, line 15
Namespace
Drupal\Core\EntityView 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.