Deprecated - 8.9.x - drupal

Primary tabs

Title File name Deprecation Type Direct uses Namespaced uses Overrides Use statements
MessageResourceTestBase core/modules/rest/tests/src/Functional/EntityResource/Message/MessageResourceTestBase.php

in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\Tests\contact\Functional\Rest\MessageResourceTestBase instead.

class
MigrateCckField core/modules/migrate_drupal/src/Annotation/MigrateCckField.php

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\migrate_drupal\Annotation\MigrateField instead.

Plugin Namespace: Plugin\migrate\cckfield

class
MigrateCckFieldInterface core/modules/migrate_drupal/src/Plugin/MigrateCckFieldInterface.php

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\migrate_drupal\Annotation\MigrateField instead.

interface 1 2
MigrateCckFieldPluginManager core/modules/migrate_drupal/src/Plugin/MigrateCckFieldPluginManager.php

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManager instead.

class
MigrateCckFieldPluginManagerInterface core/modules/migrate_drupal/src/Plugin/MigrateCckFieldPluginManagerInterface.php

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface instead.

interface 1 3
MigrateIdMapInterface::getMessageIterator core/modules/migrate/src/Plugin/MigrateIdMapInterface.php

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\migrate\Plugin\MigrateIdMapInterface::getMessages() instead.

function 2
MigrateIdMapInterface::lookupDestinationId core/modules/migrate/src/Plugin/MigrateIdMapInterface.php

in drupal:8.1.0 and is removed from drupal:9.0.0. Use lookupDestinationIds() instead.

function 2
MigrateSqlSourceTestCase core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php

in drupal:8.2.0 and is removed from drupal:9.0.0. Use \Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase instead.

class 4 4
Migration core/modules/migrate/src/Plugin/migrate/process/Migration.php

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\migrate\Plugin\migrate\process\MigrationLookup instead.

class 1
Migration::get core/modules/migrate/src/Plugin/Migration.php

in drupal:8.1.0 and is removed from drupal:9.0.0. Use more specific getters instead.

function
MigrationCreationTrait core/modules/migrate_drupal/src/MigrationCreationTrait.php

in drupal:8.1.0 and is removed from drupal:9.0.0. Use \Drupal\migrate_drupal\MigrationConfigurationTrait instead.

trait
MigrationLookup::createStubRow core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php

in drupal:8.8.0 and is removed from drupal:9.0.0. Use the migrate.stub service to create stubs.

function
MissingGroupException core/modules/simpletest/src/Exception/MissingGroupException.php

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Test\Exception\MissingGroupException instead.

class
MockEditEntityFieldAccessCheck core/modules/quickedit/tests/modules/src/MockEditEntityFieldAccessCheck.php

in drupal:8.4.0 and is removed from drupal:9.0.0.

class
ModerationInformationInterface::getLatestRevision core/modules/content_moderation/src/ModerationInformationInterface.php

in drupal:8.8.0 and is removed from drupal:9.0.0. Use RevisionableStorageInterface::getLatestRevisionId and RevisionableStorageInterface::loadRevision instead.

function 1
ModerationInformationInterface::getLatestRevisionId core/modules/content_moderation/src/ModerationInformationInterface.php

in drupal:8.8.0 and is removed from drupal:9.0.0. Use RevisionableStorageInterface::getLatestRevisionId instead.

function 1
ModerationInformationInterface::isLatestRevision core/modules/content_moderation/src/ModerationInformationInterface.php

in drupal:8.8.0 and is removed from drupal:9.0.0. Use RevisionableInterface::isLatestRevision instead.

function 1
ModerationOptOutPublishNode core/modules/content_moderation/src/Plugin/Action/ModerationOptOutPublishNode.php

in drupal:8.5.0 and is removed from drupal:9.0.0. Use \Drupal\content_moderation\Plugin\Action\ModerationOptOutPublish instead.

class
ModerationOptOutUnpublishNode core/modules/content_moderation/src/Plugin/Action/ModerationOptOutUnpublishNode.php

in drupal:8.5.0 and is removed from drupal:9.0.0. Use \Drupal\content_moderation\Plugin\Action\ModerationOptOutUnpublish instead.

class
ModuleHandler::parseDependency core/lib/Drupal/Core/Extension/ModuleHandler.php

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Extension\Dependency::createFromString() instead.

function 1
ModuleTestBase core/modules/system/src/Tests/Module/ModuleTestBase.php

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\Tests\system\Functional\Module\ModuleTestBase instead.

class
Node::getCckData core/modules/node/src/Plugin/migrate/source/d6/Node.php

in drupal:8.2.0 and is removed from drupal:9.0.0. Use getFieldData() instead.

function
Node::getCurrentUserId core/modules/node/src/Entity/Node.php

The ::getCurrentUserId method is deprecated in 8.6.x and will be removed before 9.0.0.

function 1
NodeAccessControlHandlerInterface::writeGrants core/modules/node/src/NodeAccessControlHandlerInterface.php

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\node\NodeAccessControlHandlerInterface::acquireGrants().

function 1
NodeController::add core/modules/node/src/Controller/NodeController.php

in drupal:8.8.0 and is removed from drupal:9.0.0. Define entity form routes through the _entity_form instead through the _controller directive.

function
NodeCreationTrait core/modules/simpletest/src/NodeCreationTrait.php

in drupal:8.4.0 and is removed from drupal:9.0.0. Use \Drupal\Tests\node\Traits\NodeCreationTrait instead.

trait
NodeForm::updateStatus core/modules/node/src/NodeForm.php

in drupal:8.4.0 and is removed from drupal:9.0.0. The "Publish" button was removed.

function
NodeInterface::getRevisionAuthor core/modules/node/src/NodeInterface.php

in drupal:8.2.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser() instead.

function 1
NodeInterface::setRevisionAuthorId core/modules/node/src/NodeInterface.php

in drupal:8.2.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId() instead.

function 1
NodeResourceTestBase core/modules/rest/tests/src/Functional/EntityResource/Node/NodeResourceTestBase.php

in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\Tests\node\Functional\Rest\NodeResourceTestBase instead.

class
NodeTestBase core/modules/node/src/Tests/Views/NodeTestBase.php

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\Tests\node\Functional\Views\NodeTestBase instead.

class
NodeTestBase core/modules/node/src/Tests/NodeTestBase.php

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\Tests\node\Functional\NodeTestBase instead.

class
NodeTypeInterface::isNewRevision core/modules/node/src/NodeTypeInterface.php

in drupal:8.3.0 and is removed from drupal:9.0.0. Use Drupal\Core\Entity\RevisionableEntityBundleInterface::shouldCreateNewRevision() instead.

function 1
NodeTypeResourceTestBase core/modules/rest/tests/src/Functional/EntityResource/NodeType/NodeTypeResourceTestBase.php

in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\Tests\node\Functional\Rest\NodeTypeResourceTestBase instead.

class
node_load core/modules/node/node.module

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\node\Entity\Node::load().

function 1
node_load_multiple core/modules/node/node.module

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\node\Entity\Node::loadMultiple().

function 1
NODE_NOT_PROMOTED core/modules/node/node.module

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::NOT_PROMOTED instead.

constant
NODE_NOT_PUBLISHED core/modules/node/node.module

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::NOT_PUBLISHED instead.

constant
NODE_NOT_STICKY core/modules/node/node.module

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::NOT_STICKY instead.

constant
NODE_PROMOTED core/modules/node/node.module

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::PROMOTED instead.

constant
NODE_PUBLISHED core/modules/node/node.module

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::PUBLISHED instead.

constant
NODE_STICKY core/modules/node/node.module

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\node\NodeInterface::STICKY instead.

constant
node_type_get_types core/modules/node/node.module

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\node\Entity\NodeType::loadMultiple().

function
node_type_load core/modules/node/node.module

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\node\Entity\NodeType::load().

function 1
node_view core/modules/node/node.module

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal::entityTypeManager()->getViewBuilder('node')->view() instead.

function 1
node_view_multiple core/modules/node/node.module

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal::entityTypeManager()->getViewBuilder('node')->viewMultiple() instead.

function 1
NormalizerTestBase core/modules/serialization/src/Tests/NormalizerTestBase.php

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\Tests\serialization\Kernel\NormalizerTestBase instead.

class
NumberField core/lib/Drupal/Core/Field/Plugin/migrate/field/d7/NumberField.php

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\field\Plugin\migrate\field\d7\NumberField instead.

class 1
OffCanvasTestBase::waitForNoElement core/modules/system/tests/src/FunctionalJavascript/OffCanvasTestBase.php

in drupal:8.8.0 and is removed from drupal:9.0.0. Use Drupal\FunctionalJavascriptTests\JSWebAssert::assertNoElementAfterWait()

function
PageCacheTagsTestBase core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\Tests\system\Functional\Cache\PageCacheTagsTestBase instead.

class 1 1

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.