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
AbstractConstraintValidatorTest::assertViolation vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php function To be removed in Symfony 3.0. Use {@link buildViolation()} instead.
AbstractConstraintValidatorTest::assertViolations vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php function To be removed in Symfony 3.0. Use {@link buildViolation()} instead.
AbstractConstraintValidatorTest::createViolation vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php function to be removed in Symfony 3.0. Use {@link buildViolation()} instead.
AbstractHydrator vendor/zendframework/zend-stdlib/src/Hydrator/AbstractHydrator.php class Use Zend\Hydrator\AbstractHydrator from zendframework/zend-hydrator instead.
AbstractNormalizer::formatAttribute vendor/symfony/serializer/Normalizer/AbstractNormalizer.php function Deprecated since version 2.7, to be removed in 3.0. Use Symfony\Component\Serializer\NameConverter\CamelCaseToSnakeCaseNameConverter instead.
AbstractNormalizer::setCamelizedAttributes vendor/symfony/serializer/Normalizer/AbstractNormalizer.php function Deprecated since version 2.7, to be removed in 3.0. Use Symfony\Component\Serializer\NameConverter\CamelCaseToSnakeCaseNameConverter instead.
AccessResult::cacheUntilConfigurationChanges core/lib/Drupal/Core/Access/AccessResult.php function in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::addCacheableDependency() instead.
AccessResult::cacheUntilEntityChanges core/lib/Drupal/Core/Access/AccessResult.php function in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::addCacheableDependency() instead.
AccountInterface::getUsername core/lib/Drupal/Core/Session/AccountInterface.php function in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Session\AccountInterface::getAccountName() or \Drupal\user\UserInterface::getDisplayName() instead. 3
ActiveTheme::getStyleSheetsRemove core/lib/Drupal/Core/Theme/ActiveTheme.php function in Drupal 8.0.0, will be removed before Drupal 9.0.0.
AggregateHydrator vendor/zendframework/zend-stdlib/src/Hydrator/Aggregate/AggregateHydrator.php class Use Zend\Hydrator\Aggregate\AggregateHydrator from zendframework/zend-hydrator instead.
AllowedTagsXssTrait core/lib/Drupal/Core/Field/AllowedTagsXssTrait.php trait in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use \Drupal\Core\Field\FieldFilteredMarkup instead. 7
ApacheMatcherDumper vendor/symfony/routing/Matcher/Dumper/ApacheMatcherDumper.php class since version 2.5, to be removed in 3.0. The performance gains are minimal and it's very hard to replicate the behavior of PHP implementation. 1
ApacheUrlMatcher vendor/symfony/routing/Matcher/ApacheUrlMatcher.php class since version 2.5, to be removed in 3.0. The performance gains are minimal and it's very hard to replicate the behavior of PHP implementation. 1
ApcCache vendor/symfony/validator/Mapping/Cache/ApcCache.php class since version 2.5, to be removed in 3.0. Use DoctrineCache with \Doctrine\Common\Cache\ApcCache instead. 1
ApcUniversalClassLoader vendor/symfony/class-loader/ApcUniversalClassLoader.php class since version 2.4, to be removed in 3.0. Use the {@link ClassLoader} class instead. 1
Application::asText vendor/symfony/console/Application.php function since version 2.3, to be removed in 3.0.
Application::asXml vendor/symfony/console/Application.php function since version 2.3, to be removed in 3.0.
ArrayMapNamingStrategy vendor/zendframework/zend-stdlib/src/Hydrator/NamingStrategy/ArrayMapNamingStrategy.php class Use Zend\Hydrator\NamingStrategy\ArrayMapNamingStrategy from zendframework/zend-hydrator instead.
ArraySerializable vendor/zendframework/zend-stdlib/src/Hydrator/ArraySerializable.php class Use Zend\Hydrator\ArraySerializable from zendframework/zend-hydrator instead.
AssertLegacyTrait core/tests/Drupal/KernelTests/AssertLegacyTrait.php trait Scheduled for removal in Drupal 9.0.0. Use PHPUnit's native assert methods instead.
AssertLegacyTrait::assert core/tests/Drupal/KernelTests/AssertLegacyTrait.php function Scheduled for removal in Drupal 9.0.0. Use self::assertTrue() instead.
AssertLegacyTrait::assertEqual core/tests/Drupal/KernelTests/AssertLegacyTrait.php function Scheduled for removal in Drupal 9.0.0. Use self::assertEquals() instead. 6
AssertLegacyTrait::assertIdentical core/tests/Drupal/KernelTests/AssertLegacyTrait.php function Scheduled for removal in Drupal 9.0.0. Use self::assertSame() instead. 5
AssertLegacyTrait::assertIdenticalObject core/tests/Drupal/KernelTests/AssertLegacyTrait.php function Scheduled for removal in Drupal 9.0.0. Use self::assertEquals() instead.
AssertLegacyTrait::assertNotEqual core/tests/Drupal/KernelTests/AssertLegacyTrait.php function Scheduled for removal in Drupal 9.0.0. Use self::assertNotEquals() instead.
AssertLegacyTrait::assertNotIdentical core/tests/Drupal/KernelTests/AssertLegacyTrait.php function Scheduled for removal in Drupal 9.0.0. Use self::assertNotSame() instead.
AssertLegacyTrait::pass core/tests/Drupal/KernelTests/AssertLegacyTrait.php function Scheduled for removal in Drupal 9.0.0. Use self::assertTrue() instead. 3
BlackholeMetadataFactory vendor/symfony/validator/Mapping/BlackholeMetadataFactory.php class since version 2.5, to be removed in 3.0. Use {@link Factory\BlackHoleMetadataFactory} instead.
BooleanStrategy vendor/zendframework/zend-stdlib/src/Hydrator/Strategy/BooleanStrategy.php class Use Zend\Hydrator\Strategy\BooleanStrategy from zendframework/zend-hydrator instead.
BootstrapConfigStorageFactory::getFileStorage core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php function in Drupal 8.0.x and will be removed before 9.0.0. Drupal core no longer creates an active directory.
BrowserKitDriver::setRemoveHostFromUrl vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php function Deprecated as of 1.2, to be removed in 2.0. Pass the base url in the constructor instead.
BrowserKitDriver::setRemoveScriptFromUrl vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php function Deprecated as of 1.2, to be removed in 2.0. Pass the base url in the constructor instead.
Cache::validateTags core/lib/Drupal/Core/Cache/Cache.php function Use assert('\Drupal\Component\Assertion\Inspector::assertAllStrings($tags)'); 2
Callback::$methods vendor/symfony/validator/Constraints/Callback.php property since version 2.4, to be removed in 3.0.
check_url core/includes/common.inc function in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use UrlHelper::stripDangerousProtocols() or UrlHelper::filterBadProtocol() instead. UrlHelper::stripDangerousProtocols() can be used in conjunction with \Drupal\Component\Utility\SafeMarkup::format() and an @variable placeholder which will perform the necessary escaping. UrlHelper::filterBadProtocol() is functionality equivalent to check_url() apart from the fact it is protected from double escaping bugs. Note that this method no longer marks its output as safe. 1
ClassBasedInterface vendor/symfony/validator/ClassBasedInterface.php interface since version 2.5, to be removed in 3.0. Use {@link Mapping\ClassMetadataInterface} instead. 3 4
ClassLoader vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php class the ClassLoader is deprecated and will be removed in version 3.0 of doctrine/common. 1
ClassMetadata::accept vendor/symfony/validator/Mapping/ClassMetadata.php function since version 2.5, to be removed in 3.0.
ClassMetadata::addMemberMetadata vendor/symfony/validator/Mapping/ClassMetadata.php function since version 2.6, to be removed in 3.0.
ClassMetadata::getMemberMetadatas vendor/symfony/validator/Mapping/ClassMetadata.php function since version 2.6, to be removed in 3.0. Use {@link getPropertyMetadata} instead.
ClassMetadata::hasMemberMetadatas vendor/symfony/validator/Mapping/ClassMetadata.php function since version 2.6, to be removed in 3.0. Use {@link hasPropertyMetadata} instead.
ClassMetadataFactory vendor/symfony/validator/Mapping/ClassMetadataFactory.php class since version 2.5, to be removed in 3.0. Use {@link LazyLoadingMetadataFactory} instead.
ClassMethods vendor/zendframework/zend-stdlib/src/Hydrator/ClassMethods.php class Use Zend\Hydrator\ClassMethods from zendframework/zend-hydrator instead.
ClosureStrategy vendor/zendframework/zend-stdlib/src/Hydrator/Strategy/ClosureStrategy.php class Use Zend\Hydrator\Strategy\ClosureStrategy from zendframework/zend-hydrator instead.
Command::asText vendor/symfony/console/Command/Command.php function since version 2.3, to be removed in 3.0.
Command::asXml vendor/symfony/console/Command/Command.php function since version 2.3, to be removed in 3.0.
comment_view core/modules/comment/comment.module function in Drupal 8.x and will be removed before Drupal 9.0. Use \Drupal::entityManager()->getViewBuilder('comment')->view(). 2
comment_view_multiple core/modules/comment/comment.module function in Drupal 8.x and will be removed before Drupal 9.0. Use \Drupal::entityManager()->getViewBuilder('comment')->viewMultiple().
CompositeNamingStrategy vendor/zendframework/zend-stdlib/src/Hydrator/NamingStrategy/CompositeNamingStrategy.php class Use Zend\Hydrator\NamingStrategy\CompositeNamingStrategy from zendframework/zend-hydrator instead.

Pages

Other projects