W3cubDocs

/Drupal 8

class 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

Deprecated

in Drupal 8.0.0, will be removed before Drupal 9.0.0.

File

core/lib/Drupal/Core/Entity/EntityManager.php, line 18

Namespace

Drupal\Core\Entity

Members

Name Modifiers Type Description
ContainerAwareTrait::$container protected property
ContainerAwareTrait::setContainer public function Sets the container. Overrides ContainerAwareInterface::setContainer
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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityManager.php/class/EntityManager/8.1.x