You are here

Deprecated in Zircon Profile 8

Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Namesort descending Location Type Deprecation Direct uses Namespaced uses Overrides Use statements
Route::getPattern vendor/symfony/routing/Annotation/Route.php function since version 2.2, to be removed in 3.0. Use getPath instead.
Route::setPattern vendor/symfony/routing/Route.php function since version 2.2, to be removed in 3.0. Use setPath instead.
Route::setPattern vendor/symfony/routing/Annotation/Route.php function since version 2.2, to be removed in 3.0. Use setPath instead.
RouterListener::setRequest vendor/symfony/http-kernel/EventListener/RouterListener.php function since version 2.4, to be removed in 3.0.
SafeMarkup core/lib/Drupal/Component/Utility/SafeMarkup.php class Will be removed before Drupal 9.0.0. Use the appropriate sanitization functions or the theme and render systems so that the output can can be themed, escaped, and altered properly. 132
SafeMarkup::checkPlain core/lib/Drupal/Component/Utility/SafeMarkup.php function Will be removed before Drupal 9.0.0. Rely on Twig's auto-escaping feature, or use the #plain_text key when constructing a render array that contains plain text in order to use the renderer's auto-escaping feature. If neither of these are possible, \Drupal\Component\Utility\Html::escape() can be used in places where explicit escaping is needed. 1
SafeMarkup::format core/lib/Drupal/Component/Utility/SafeMarkup.php function in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use \Drupal\Component\Render\FormattableMarkup. 179
SafeMarkup::isSafe core/lib/Drupal/Component/Utility/SafeMarkup.php function in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Instead, you should just check if a variable is an instance of \Drupal\Component\Render\MarkupInterface. 22
SelectionBase core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/SelectionBase.php class in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\Plugin\EntityReferenceSelection\DefaultSelection
SelectorsHandler::xpathLiteral vendor/behat/mink/src/Selector/SelectorsHandler.php function since Mink 1.7. Use \Behat\Mink\Selector\Xpath\Escaper::escapeLiteral when building Xpath or pass the unescaped value when using the named selector.
SerializableStrategy vendor/zendframework/zend-stdlib/src/Hydrator/Strategy/SerializableStrategy.php class Use Zend\Hydrator\Strategy\SerializableStrategy from zendframework/zend-hydrator instead.
shortcut_set_assign_user core/modules/shortcut/shortcut.module function in Drupal 8.x, will be removed before Drupal 9.0. Use \Drupal::entityManager()->getStorage('shortcut_set')->assignUser().
shortcut_set_title_exists core/modules/shortcut/shortcut.module function in Drupal 8.x, will be removed before Drupal 9.0.
shortcut_set_unassign_user core/modules/shortcut/shortcut.module function in Drupal 8.x, will be removed before Drupal 9.0. Use \Drupal::entityManager()->getStorage('shortcut_set')->unassignUser().
SimpleXMLElement vendor/symfony/dependency-injection/SimpleXMLElement.php class since version 2.5, to be removed in 3.0. 1
StrategyChain vendor/zendframework/zend-stdlib/src/Hydrator/Strategy/StrategyChain.php class Use Zend\Hydrator\Strategy\StrategyChain from zendframework/zend-hydrator instead.
StrategyEnabledInterface vendor/zendframework/zend-stdlib/src/Hydrator/StrategyEnabledInterface.php interface Use Zend\Hydrator\Strategy\StrategyEnabledInterface from zendframework/zend-hydrator instead.
StrategyInterface vendor/zendframework/zend-stdlib/src/Hydrator/Strategy/StrategyInterface.php interface Use Zend\Hydrator\Strategy\StrategyInterface from zendframework/zend-hydrator instead. 7
StringInput::__construct vendor/symfony/console/Input/StringInput.php function The second argument is deprecated as it does not work (will be removed in 3.0), use 'bind' method instead
StubGlobalExecutionContext vendor/symfony/validator/Tests/Fixtures/StubGlobalExecutionContext.php class since version 2.5, to be removed in 3.0
TableHelper vendor/symfony/console/Helper/TableHelper.php class since version 2.5, to be removed in 3.0 Use {@link Table} instead. 2
taxonomy_term_load core/modules/taxonomy/taxonomy.module function in Drupal 8.x, will be removed before Drupal 9.0. Use \Drupal\taxonomy\Entity\Term::load().
taxonomy_term_load_multiple core/modules/taxonomy/taxonomy.module function in Drupal 8.x, will be removed before Drupal 9.0. Use \Drupal\taxonomy\Entity\Term::loadMultiple().
taxonomy_vocabulary_load core/modules/taxonomy/taxonomy.module function in Drupal 8.x, will be removed before Drupal 9.0. Use \Drupal\taxonomy\Entity\Vocabulary::load().
taxonomy_vocabulary_load_multiple core/modules/taxonomy/taxonomy.module function in Drupal 8.x, will be removed before Drupal 9.0. Use \Drupal\taxonomy\Entity\Vocabulary::loadMultiple().
ThemeHandlerInterface::install core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php function in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use the theme_installer service instead. 1
ThemeHandlerInterface::uninstall core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php function in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use the theme_installer service instead. 1
TraceableEventDispatcher::setProfiler vendor/symfony/http-kernel/Debug/TraceableEventDispatcher.php function since version 2.4, to be removed in 3.0.
TranslationWrapper core/lib/Drupal/Core/StringTranslation/TranslationWrapper.php class in Drupal 8.x, will be removed before Drupal 9.0. Use the \Drupal\Core\StringTranslation\TranslatableMarkup class instead.
Translator::setFallbackLocale vendor/symfony/translation/Translator.php function since version 2.3, to be removed in 3.0. Use setFallbackLocales() instead.
TraversalStrategy::STOP_RECURSION vendor/symfony/validator/Mapping/TraversalStrategy.php constant since version 2.5, to be removed in 3.0. This constant was added for backwards compatibility only. 5
True vendor/symfony/validator/Constraints/True.php class since version 2.7, to be removed in 3.0. Use IsTrue instead.
TrueValidator vendor/symfony/validator/Constraints/TrueValidator.php class since version 2.7, to be removed in 3.0. Use IsTrueValidator instead.
TwigExtension::setGenerators core/lib/Drupal/Core/Template/TwigExtension.php function in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal\Core\Template\TwigExtension::setUrlGenerator().
Twig_Autoloader vendor/twig/twig/lib/Twig/Autoloader.php class Use Composer instead. Will be removed in Twig 2.0.
Twig_CompilerInterface vendor/twig/twig/lib/Twig/CompilerInterface.php interface since 1.12 (to be removed in 3.0) 1
Twig_Environment::clearCacheFiles vendor/twig/twig/lib/Twig/Environment.php function since 1.22 (to be removed in 2.0)
Twig_Environment::clearTemplateCache vendor/twig/twig/lib/Twig/Environment.php function since 1.18.3 (to be removed in 2.0)
Twig_Environment::computeAlternatives vendor/twig/twig/lib/Twig/Environment.php function since 1.23 (to be removed in 2.0)
Twig_Environment::getCacheFilename vendor/twig/twig/lib/Twig/Environment.php function since 1.22 (to be removed in 2.0) 1
Twig_Environment::getTemplateClassPrefix vendor/twig/twig/lib/Twig/Environment.php function since 1.22 (to be removed in 2.0)
Twig_Environment::initRuntime vendor/twig/twig/lib/Twig/Environment.php function since 1.23 (to be removed in 2.0) 1
Twig_Environment::removeExtension vendor/twig/twig/lib/Twig/Environment.php function since 1.12 (to be removed in 2.0)
Twig_Environment::writeCacheFile vendor/twig/twig/lib/Twig/Environment.php function since 1.22 (to be removed in 2.0) 1
Twig_ExistsLoaderInterface vendor/twig/twig/lib/Twig/ExistsLoaderInterface.php interface since 1.12 (to be removed in 3.0) 4
Twig_Extension::getGlobals vendor/twig/twig/lib/Twig/Extension.php function since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead
Twig_Extension::initRuntime vendor/twig/twig/lib/Twig/Extension.php function since 1.23 (to be removed in 2.0), implement Twig_Extension_InitRuntimeInterface instead
Twig_ExtensionInterface::getGlobals vendor/twig/twig/lib/Twig/ExtensionInterface.php function since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead 1
Twig_ExtensionInterface::initRuntime vendor/twig/twig/lib/Twig/ExtensionInterface.php function since 1.23 (to be removed in 2.0), implement Twig_Extension_InitRuntimeInterace instead 1
Twig_Filter vendor/twig/twig/lib/Twig/Filter.php class since 1.12 (to be removed in 2.0) 3

Pages

Other projects