You are here

Deprecated in Drupal 8

Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Namesort descending Location Type Deprecation Direct uses Namespaced uses Overrides Use statements
EntityManager::getAllFormModes core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityDisplayRepositoryInterface::getAllFormModes() instead.
EntityManager::getAllViewModes core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityDisplayRepositoryInterface::getAllViewModes() instead.
EntityManager::getBaseFieldDefinitions core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityFieldManagerInterface::getBaseFieldDefinitions() instead.
EntityManager::getBundleInfo core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeBundleInfoInterface::getBundleInfo() instead.
EntityManager::getCanonical core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityRepositoryInterface::getCanonical() instead.
EntityManager::getCanonicalMultiple core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityRepositoryInterface::getCanonicalMultiple() instead.
EntityManager::getDefinition core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::getDefinition() instead.
EntityManager::getDefinitions core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::getDefinitions() instead.
EntityManager::getEntityTypeFromClass core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeRepositoryInterface::getEntityTypeFromClass() instead.
EntityManager::getEntityTypeLabels core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeRepositoryInterface::getEntityTypeLabels() instead.
EntityManager::getExtraFields core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityFieldManagerInterface::getExtraFields() instead.
EntityManager::getFieldDefinitions core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityFieldManagerInterface::getFieldDefinitions() instead.
EntityManager::getFieldMap core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityFieldManagerInterface::getFieldMap() instead.
EntityManager::getFieldMapByFieldType core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityFieldManagerInterface::getFieldMapByFieldType() instead.
EntityManager::getFieldStorageDefinitions core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityFieldManagerInterface::getFieldStorageDefinitions() instead.
EntityManager::getFormDisplay core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::getFormwDisplay() instead.
EntityManager::getFormModeOptions core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityDisplayRepositoryInterface::getFormModeOptions() instead.
EntityManager::getFormModeOptionsByBundle core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityDisplayRepositoryInterface::getFormModeOptionsByBundle() instead.
EntityManager::getFormModes core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityDisplayRepositoryInterface::getFormModes() instead.
EntityManager::getFormObject core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::getFormObject() instead.
EntityManager::getHandler core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::getHandler() instead.
EntityManager::getInstance core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::getInstance() instead.
EntityManager::getLastInstalledDefinition core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::getLastInstalledDefinition() instead.
EntityManager::getLastInstalledFieldStorageDefinitions core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::getLastInstalledFieldStorageDefinitions() instead.
EntityManager::getListBuilder core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::getListBuilder() instead.
EntityManager::getRouteProviders core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::getRouteProviders() instead.
EntityManager::getStorage core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::getStorage() instead.
EntityManager::getTranslationFromContext core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityRepositoryInterface::getTranslationFromContext() instead.
EntityManager::getViewBuilder core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::getViewBuilder() instead.
EntityManager::getViewDisplay core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::getViewDisplay() instead.
EntityManager::getViewModeOptions core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityDisplayRepositoryInterface::getViewModeOptions() instead.
EntityManager::getViewModeOptionsByBundle core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityDisplayRepositoryInterface::getViewModeOptionsByBundle() instead.
EntityManager::getViewModes core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityDisplayRepositoryInterface::getViewModes() instead.
EntityManager::hasDefinition core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::hasDefinition() instead.
EntityManager::hasHandler core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::hasHandler() instead.
EntityManager::loadEntityByConfigTarget core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityRepositoryInterface::loadEntityByConfigTarget() instead.
EntityManager::loadEntityByUuid core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityRepositoryInterface::loadEntityByUuid() instead.
EntityManager::onBundleCreate core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityBundleListenerInterface::onBundleCreate() instead.
EntityManager::onBundleDelete core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityBundleListenerInterface::onBundleDelete() instead.
EntityManager::onEntityTypeDelete core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeListenerInterface::onEntityTypeDelete() instead.
EntityManager::onEntityTypeUpdate core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeListenerInterface::onEntityTypeUpdate() instead.
EntityManager::onFieldableEntityTypeCreate core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeListenerInterface::onFieldableEntityTypeCreate() instead.
EntityManager::onFieldableEntityTypeUpdate core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeListenerInterface::onFieldableEntityTypeUpdate() instead.
EntityManager::onFieldDefinitionCreate core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Field\FieldDefinitionListenerInterface::onFieldDefinitionCreate() instead.
EntityManager::onFieldDefinitionDelete core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Field\FieldDefinitionListenerInterface::onFieldDefinitionDelete() instead.
EntityManager::onFieldDefinitionUpdate core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Field\FieldDefinitionListenerInterface::onFieldDefinitionUpdate() instead.
EntityManager::onFieldStorageDefinitionCreate core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Field\FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate() instead.
EntityManager::onFieldStorageDefinitionDelete core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Field\FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete() instead.
EntityManager::onFieldStorageDefinitionUpdate core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Field\FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionUpdate() instead.
EntityManager::setFieldMap core/lib/Drupal/Core/Entity/EntityManager.php function in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityFieldManagerInterface::setFieldMap() instead.

Pages

Other projects