Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Deprecated - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x
Examples: "before Drupal 9", "in Drupal 8.4"
Title File name Deprecation Type Direct uses Namespaced uses Overrides Use statements
DeprecatedUuidMethodsTrait::getDateTime vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

In ramsey/uuid version 5.0.0, this will be removed. It is available at {

function
DeprecatedUuidMethodsTrait::getFieldsHex vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { {

function
DeprecatedUuidMethodsTrait::getLeastSignificantBits vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

This method will be removed in 5.0.0. There is no direct alternative, but the same information may be obtained by splitting in half the value returned by {

function
DeprecatedUuidMethodsTrait::getLeastSignificantBitsHex vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

This method will be removed in 5.0.0. There is no direct alternative, but the same information may be obtained by splitting in half the value returned by {

function
DeprecatedUuidMethodsTrait::getMostSignificantBits vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

This method will be removed in 5.0.0. There is no direct alternative, but the same information may be obtained by splitting in half the value returned by {

function
DeprecatedUuidMethodsTrait::getMostSignificantBitsHex vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

This method will be removed in 5.0.0. There is no direct alternative, but the same information may be obtained by splitting in half the value returned by {

function
DeprecatedUuidMethodsTrait::getNode vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { { { { arbitrary-precision math library of your choice to convert it to a string integer.

function
DeprecatedUuidMethodsTrait::getNodeHex vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { { { {

function
DeprecatedUuidMethodsTrait::getNumberConverter vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

This method will be removed in 5.0.0. There is no alternative recommendation, so plan accordingly.

function
DeprecatedUuidMethodsTrait::getTimeHiAndVersion vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { { { { and use the arbitrary-precision math library of your choice to convert it to a string integer.

function
DeprecatedUuidMethodsTrait::getTimeHiAndVersionHex vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { { { {

function
DeprecatedUuidMethodsTrait::getTimeLow vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { { { { arbitrary-precision math library of your choice to convert it to a string integer.

function
DeprecatedUuidMethodsTrait::getTimeLowHex vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { { { {

function
DeprecatedUuidMethodsTrait::getTimeMid vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { { { { arbitrary-precision math library of your choice to convert it to a string integer.

function
DeprecatedUuidMethodsTrait::getTimeMidHex vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { { { {

function
DeprecatedUuidMethodsTrait::getTimestamp vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { { { { the arbitrary-precision math library of your choice to convert it to a string integer.

function
DeprecatedUuidMethodsTrait::getTimestampHex vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { { { {

function
DeprecatedUuidMethodsTrait::getVariant vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { { { {

function
DeprecatedUuidMethodsTrait::getVersion vendor/ramsey/uuid/src/DeprecatedUuidMethodsTrait.php

Use { { { {

function
describe_type vendor/guzzlehttp/guzzle/src/functions.php

describe_type will be removed in guzzlehttp/guzzle:8.0. Use Utils::describeType instead.

function
DrupalFinder vendor/webflo/drupal-finder/src/DrupalFinder.php

in drupal-finder:1.3.0 and is removed from drupal-finder:2.0.0. Use \DrupalFinder\DrupalFinderComposerRuntime instead.

class
DrupalFinder::locateRoot vendor/webflo/drupal-finder/src/DrupalFinder.php

Will be removed in v2. Future usage should instantiate a new DrupalFinder object by passing the starting path to its constructor.

function
drupal_common_theme core/includes/theme.inc

in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Theme\ThemeCommonElements::commonElements() instead,

function
Element::elementNotFound vendor/behat/mink/src/Element/Element.php

as of 1.7, to be removed in 2.0

function
Element::getSelectorsHandler vendor/behat/mink/src/Element/Element.php

Accessing the selectors handler in the element is deprecated as of 1.7 and will be impossible in 2.0.

function
Element::getSession vendor/behat/mink/src/Element/Element.php

Accessing the session from the element is deprecated as of 1.6 and will be impossible in 2.0.

function
ElementException vendor/behat/mink/src/Exception/ElementException.php

This exception class is not used anymore in Mink 1.6 and will be removed in 2.0

class
ElementInterface::getSession vendor/behat/mink/src/Element/ElementInterface.php

Accessing the session from the element is deprecated as of 1.6 and will be impossible in 2.0.

function 1
EntityPermissionsForm::access core/modules/user/src/Form/EntityPermissionsForm.php

in drupal:11.1.0 and is removed from drupal:12.0.0. Use a permissions check in the route definition instead.

function
EntityPermissionsRouteProviderWithCheck core/modules/user/src/Entity/EntityPermissionsRouteProviderWithCheck.php

in drupal:11.1.0 and is removed from drupal:12.0.0. Use EntityPermissionsRouteProvider instead.

class
EntityRepositoryInterface::CONTEXT_ID_LEGACY_CONTEXT_OPERATION core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php

in drupal:10.3.0 and is removed from drupal:12.0.0. There is no replacement.

constant
Environment::mergeGlobals vendor/twig/twig/src/Environment.php

since Twig 3.14

function
EscaperExtension::addSafeClass vendor/twig/twig/src/Extension/EscaperExtension.php

since Twig 3.10

function
EscaperExtension::getEscapers vendor/twig/twig/src/Extension/EscaperExtension.php

since Twig 3.10

function
EscaperExtension::setEnvironment vendor/twig/twig/src/Extension/EscaperExtension.php

since Twig 3.10

function
EscaperExtension::setEscaper vendor/twig/twig/src/Extension/EscaperExtension.php

since Twig 3.10

function
EscaperExtension::setEscaperRuntime vendor/twig/twig/src/Extension/EscaperExtension.php

since Twig 3.10

function
EscaperExtension::setSafeClasses vendor/twig/twig/src/Extension/EscaperExtension.php

since Twig 3.10

function
ExactMatch::getBlacklist vendor/squizlabs/php_codesniffer/src/Filters/ExactMatch.php

3.9.0 Implement the `getDisallowedFiles()` method instead. The `getDisallowedFiles()` method will be made abstract and therefore required in v4.0 and this method will be removed. If both methods are implemented, the new `getDisallowedFiles()` method will take precedence.

function 1 2
ExactMatch::getWhitelist vendor/squizlabs/php_codesniffer/src/Filters/ExactMatch.php

3.9.0 Implement the `getAllowedFiles()` method instead. The `getAllowedFiles()` method will be made abstract and therefore required in v4.0 and this method will be removed. If both methods are implemented, the new `getAllowedFiles()` method will take precedence.

function 1 2
ExpectationException::getSession vendor/behat/mink/src/Exception/ExpectationException.php

since 1.7, to be removed in 2.0. Use getDriver and the driver API instead.

function
ExpressionParser::parseArrayExpression vendor/twig/twig/src/ExpressionParser.php

since Twig 3.11, use parseSequenceExpression() instead

function
ExpressionParser::parseHashExpression vendor/twig/twig/src/ExpressionParser.php

since Twig 3.11, use parseMappingExpression() instead

function
Extends_::create vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Extends_.php

Create using static factory is deprecated, this method should not be called directly by library consumers

function
Extension::addAnnotatedClassesToCompile vendor/symfony/http-kernel/DependencyInjection/Extension.php

since Symfony 7.1, to be removed in 8.0

function
Extension::getAnnotatedClassesToCompile vendor/symfony/http-kernel/DependencyInjection/Extension.php

since Symfony 7.1, to be removed in 8.0

function
Factory vendor/phpspec/prophecy/src/Prophecy/Comparator/Factory.php

Use "Prophecy\Comparator\FactoryProvider" instead to get a "SebastianBergmann\Comparator\Factory" instance.

class
FileInputStream vendor/masterminds/html5/src/HTML5/Parser/FileInputStream.php

since 2.4, to remove in 3.0. Use a string in the scanner instead.

class
FileSystemInterface::EXISTS_ERROR core/lib/Drupal/Core/File/FileSystemInterface.php

in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\File\FileExists::Error instead.

constant
FileSystemInterface::EXISTS_RENAME core/lib/Drupal/Core/File/FileSystemInterface.php

in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\File\FileExists::Rename instead.

constant

Pagination

  • First page
  • Previous page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal