Deprecated

Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Namesort ascending Location Type Deprecation Direct uses Namespaced uses Overrides Use statements
_drupal_set_preferred_header_name drupal/core/includes/bootstrap.inc function Header handling is being shifted to a Symfony response object. 2
valid_url drupal/core/includes/common.inc function as of Drupal 8.0. Use UrlValidator::isValid() instead. 3
Twig_TokenParserBrokerInterface drupal/core/vendor/twig/twig/lib/Twig/TokenParserBrokerInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_TokenParserBroker drupal/core/vendor/twig/twig/lib/Twig/TokenParserBroker.php class since 1.12 (to be removed in 2.0)
Twig_Test_Node drupal/core/vendor/twig/twig/lib/Twig/Test/Node.php class since 1.12 (to be removed in 2.0)
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_TestInterface drupal/core/vendor/twig/twig/lib/Twig/TestInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_TestCallableInterface drupal/core/vendor/twig/twig/lib/Twig/TestCallableInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_Test drupal/core/vendor/twig/twig/lib/Twig/Test.php class since 1.12 (to be removed in 2.0) 3
Twig_TemplateInterface drupal/core/vendor/twig/twig/lib/Twig/TemplateInterface.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_NodeInterface drupal/core/vendor/twig/twig/lib/Twig/NodeInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_LexerInterface drupal/core/vendor/twig/twig/lib/Twig/LexerInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_Function_Node drupal/core/vendor/twig/twig/lib/Twig/Function/Node.php class since 1.12 (to be removed in 2.0)
Twig_Function_Method drupal/core/vendor/twig/twig/lib/Twig/Function/Method.php class since 1.12 (to be removed in 2.0)
Twig_Function_Function drupal/core/vendor/twig/twig/lib/Twig/Function/Function.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_FunctionCallableInterface drupal/core/vendor/twig/twig/lib/Twig/FunctionCallableInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_Function drupal/core/vendor/twig/twig/lib/Twig/Function.php class since 1.12 (to be removed in 2.0) 3
Twig_Filter_Node drupal/core/vendor/twig/twig/lib/Twig/Filter/Node.php class since 1.12 (to be removed in 2.0)
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_FilterInterface drupal/core/vendor/twig/twig/lib/Twig/FilterInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_FilterCallableInterface drupal/core/vendor/twig/twig/lib/Twig/FilterCallableInterface.php interface since 1.12 (to be removed in 2.0) 1
Twig_Filter drupal/core/vendor/twig/twig/lib/Twig/Filter.php class since 1.12 (to be removed in 2.0) 3
Twig_ExistsLoaderInterface drupal/core/vendor/twig/twig/lib/Twig/ExistsLoaderInterface.php interface since 1.12 (to be removed in 2.0) 4
Twig_Environment::removeExtension drupal/core/vendor/twig/twig/lib/Twig/Environment.php function since 1.12 (to be removed in 2.0)
Twig_CompilerInterface drupal/core/vendor/twig/twig/lib/Twig/CompilerInterface.php interface since 1.12 (to be removed in 2.0) 1
timer_stop drupal/core/includes/bootstrap.inc function as of Drupal 8.0. 1
timer_start drupal/core/includes/bootstrap.inc function as of Drupal 8.0. 2
timer_read drupal/core/includes/bootstrap.inc function as of Drupal 8.0. 1
Route::setPattern drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Annotation/Route.php function Deprecated in 2.2, to be removed in 3.0. Use setPath instead.
Route::setPattern drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Route.php function Deprecated in 2.2, to be removed in 3.0. Use setPath instead.
Route::getPattern drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Annotation/Route.php function Deprecated in 2.2, to be removed in 3.0. Use getPath instead.
Route::getPattern drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Route.php function Deprecated in 2.2, to be removed in 3.0. Use getPath instead.
Required drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Constraints/Collection/Required.php class Deprecated in 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Validator\Constraints\Required} instead.
ParserRegistry::set drupal/core/vendor/guzzle/parser/Guzzle/Parser/ParserRegistry.php function Will be removed in 3.1.0
ParserRegistry::get drupal/core/vendor/guzzle/parser/Guzzle/Parser/ParserRegistry.php function Will be removed in 3.1.0
Optional drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Constraints/Collection/Optional.php class Deprecated in 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Validator\Constraints\Optional} instead.
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.
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.
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.
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.
module_uninstall drupal/core/includes/module.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->uninstall($module_list, $uninstall_dependents = TRUE). 7
module_list drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->getModuleList().
module_invoke_all drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->invokeAll($hook). 86
module_invoke drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->invoke($module, $hook, $args = array()). 46
module_implements drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->getImplementations($hook). 60
module_hook drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->implementsHook($module, $hook). 7

Pages

Other projects