Deprecated

Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Name Location Type Deprecationsort descending Direct uses Namespaced uses Overrides Use statements
Twig_Function_Function drupal/core/vendor/twig/twig/lib/Twig/Function/Function.php class since 1.12 (to be removed in 2.0)
Twig_Function_Node drupal/core/vendor/twig/twig/lib/Twig/Function/Node.php class since 1.12 (to be removed in 2.0)
Twig_FunctionInterface drupal/core/vendor/twig/twig/lib/Twig/FunctionInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_ParserInterface drupal/core/vendor/twig/twig/lib/Twig/ParserInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_ExistsLoaderInterface drupal/core/vendor/twig/twig/lib/Twig/ExistsLoaderInterface.php interface since 1.12 (to be removed in 2.0) 4
Twig_TokenParserBroker drupal/core/vendor/twig/twig/lib/Twig/TokenParserBroker.php class since 1.12 (to be removed in 2.0)
Twig_LexerInterface drupal/core/vendor/twig/twig/lib/Twig/LexerInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_Test_Method drupal/core/vendor/twig/twig/lib/Twig/Test/Method.php class since 1.12 (to be removed in 2.0)
Twig_Test_Function drupal/core/vendor/twig/twig/lib/Twig/Test/Function.php class since 1.12 (to be removed in 2.0)
Twig_TokenParserBrokerInterface drupal/core/vendor/twig/twig/lib/Twig/TokenParserBrokerInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_Test_Node drupal/core/vendor/twig/twig/lib/Twig/Test/Node.php class since 1.12 (to be removed in 2.0)
Twig_Filter drupal/core/vendor/twig/twig/lib/Twig/Filter.php class since 1.12 (to be removed in 2.0) 3
Twig_CompilerInterface drupal/core/vendor/twig/twig/lib/Twig/CompilerInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_TemplateInterface drupal/core/vendor/twig/twig/lib/Twig/TemplateInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_Filter_Method drupal/core/vendor/twig/twig/lib/Twig/Filter/Method.php class since 1.12 (to be removed in 2.0)
Twig_Filter_Function drupal/core/vendor/twig/twig/lib/Twig/Filter/Function.php class since 1.12 (to be removed in 2.0)
Twig_Filter_Node drupal/core/vendor/twig/twig/lib/Twig/Filter/Node.php class since 1.12 (to be removed in 2.0)
Twig_Environment::removeExtension drupal/core/vendor/twig/twig/lib/Twig/Environment.php function since 1.12 (to be removed in 2.0)
LoggerInterface drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Log/LoggerInterface.php interface since 2.2, to be removed in 3.0. Type-hint \Psr\Log\LoggerInterface instead. 1 2
LoggerInterface::crit drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Log/LoggerInterface.php function since 2.2, to be removed in 3.0. Use critical() which is PSR-3 compatible. 1
NullLogger::crit drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Log/NullLogger.php function since 2.2, to be removed in 3.0. Use critical() which is PSR-3 compatible.
LoggerInterface::emerg drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Log/LoggerInterface.php function since 2.2, to be removed in 3.0. Use emergency() which is PSR-3 compatible. 1
NullLogger::emerg drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Log/NullLogger.php function since 2.2, to be removed in 3.0. Use emergency() which is PSR-3 compatible.
LoggerInterface::err drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Log/LoggerInterface.php function since 2.2, to be removed in 3.0. Use error() which is PSR-3 compatible. 1
NullLogger::err drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Log/NullLogger.php function since 2.2, to be removed in 3.0. Use error() which is PSR-3 compatible.
LoggerInterface::warn drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Log/LoggerInterface.php function since 2.2, to be removed in 3.0. Use warning() which is PSR-3 compatible. 1
NullLogger::warn drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Log/NullLogger.php function since 2.2, to be removed in 3.0. Use warning() which is PSR-3 compatible.
drupal_container drupal/core/includes/bootstrap.inc function This function has been replaced by the \Drupal class. Use that instead. 12
Drupal::getContainer drupal/core/lib/Drupal.php function This method is only useful for the testing environment, and as a BC shiv for drupal_container(). It should not be used otherwise. 6
EntityBody::calculateMd5 drupal/core/vendor/guzzle/http/Guzzle/Http/EntityBody.php function This will be deprecated soon
lock drupal/core/includes/bootstrap.inc function Use Drupal::lock() instead, or even better have the lock service injected into your object.
entity_get_info drupal/core/includes/entity.inc function Use \Drupal\Core\Entity\EntityManager::getDefinitions() directly. 73
entity_form_controller drupal/core/includes/entity.inc function Use \Drupal\Core\Entity\EntityManager::getFormController().
entity_list_controller drupal/core/includes/entity.inc function Use \Drupal\Core\Entity\EntityManager::getFormController().
entity_render_controller drupal/core/includes/entity.inc function Use \Drupal\Core\Entity\EntityManager::getFormController().
entity_access_controller drupal/core/includes/entity.inc function Use \Drupal\Core\Entity\EntityManager::getRenderController().
entity_get_controller drupal/core/includes/entity.inc function Use \Drupal\Core\Entity\EntityManager::getStorageController().
confirm_form drupal/core/modules/system/system.module function Use \Drupal\Core\Form\ConfirmFormBase instead. 19
ParserRegistry::get drupal/core/vendor/guzzle/parser/Guzzle/Parser/ParserRegistry.php function Will be removed in 3.1.0
ParserRegistry::set drupal/core/vendor/guzzle/parser/Guzzle/Parser/ParserRegistry.php function Will be removed in 3.1.0

Pages

Other projects