Deprecated

Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Name Location Typesort descending Deprecation Direct uses Namespaced uses Overrides Use statements
Twig_Test drupal/core/vendor/twig/twig/lib/Twig/Test.php class since 1.12 (to be removed in 2.0) 3
Twig_TokenParserBroker drupal/core/vendor/twig/twig/lib/Twig/TokenParserBroker.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_Function drupal/core/vendor/twig/twig/lib/Twig/Function.php class since 1.12 (to be removed in 2.0) 3
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_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_Function_Node drupal/core/vendor/twig/twig/lib/Twig/Function/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_Test_Node drupal/core/vendor/twig/twig/lib/Twig/Test/Node.php class since 1.12 (to be removed in 2.0)
FlattenException drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/FlattenException.php class Deprecated in 2.3, to be removed in 3.0. Use the same class from the Debug component instead. 5
FatalErrorException drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Exception/FatalErrorException.php class Deprecated in 2.3, to be removed in 3.0. Use the same class from the Debug component instead.
ErrorHandler drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/ErrorHandler.php class Deprecated in 2.3, to be removed in 3.0. Use the same class from the Debug component instead. 3
ExceptionHandler drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/ExceptionHandler.php class Deprecated in 2.3, to be removed in 3.0. Use the same class from the Debug component 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.
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.
entity_get_info drupal/core/includes/entity.inc function Use \Drupal\Core\Entity\EntityManager::getDefinitions() directly. 73
entity_get_controller drupal/core/includes/entity.inc function Use \Drupal\Core\Entity\EntityManager::getStorageController().
entity_access_controller drupal/core/includes/entity.inc function Use \Drupal\Core\Entity\EntityManager::getRenderController().
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().
module_enable drupal/core/includes/module.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->enable($module_list, $enable_dependencies = TRUE). 57
module_disable drupal/core/includes/module.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->disable($module_list, $disable_dependents = TRUE). 20
module_uninstall drupal/core/includes/module.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->uninstall($module_list, $uninstall_dependents = TRUE). 7
drupal_http_build_query drupal/core/includes/common.inc function as of Drupal 8.0. Use Drupal::urlGenerator()->httpBuildQuery() instead. 10
valid_url drupal/core/includes/common.inc function as of Drupal 8.0. Use UrlValidator::isValid() instead. 3
drupal_explode_tags drupal/core/includes/common.inc function as of Drupal 8.0. Use Tags::explode() instead. 14
drupal_implode_tags drupal/core/includes/common.inc function as of Drupal 8.0. Use Tags::implode() instead. 6
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
timer_stop drupal/core/includes/bootstrap.inc function as of Drupal 8.0. 1
drupal_add_http_header drupal/core/includes/bootstrap.inc function Header handling is being shifted to a Symfony response object. 13
drupal_get_http_header drupal/core/includes/bootstrap.inc function Header handling is being shifted to a Symfony response object. 3
_drupal_set_preferred_header_name drupal/core/includes/bootstrap.inc function Header handling is being shifted to a Symfony response object. 2
drupal_send_headers drupal/core/includes/bootstrap.inc function Header handling is being shifted to a Symfony response object. 1
drupal_page_header drupal/core/includes/bootstrap.inc function Header handling is being shifted to a Symfony response object. 1
drupal_container drupal/core/includes/bootstrap.inc function This function has been replaced by the \Drupal class. Use that instead. 12
module_list drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->getModuleList().
module_implements drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->getImplementations($hook). 60
module_invoke drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->invoke($module, $hook, $args = array()). 46
module_invoke_all drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->invokeAll($hook). 86
drupal_alter drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->alter($hook). 73
module_exists drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->moduleExists($hook). 92
module_hook drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::moduleHandler()->implementsHook($module, $hook). 7
language drupal/core/includes/bootstrap.inc function as of Drupal 8.0. Use Drupal::service('language_manager')->getLanguage($type). 53
lock drupal/core/includes/bootstrap.inc function Use Drupal::lock() instead, or even better have the lock service injected into your object.

Pages

Other projects