Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Remove the following functions and related deprecation tests:
- node_type_update_nodes
- node_revision_load
- node_revision_delete
- node_get_recent
It may also make sense to remove the $connection
argument from \Drupal\node\Form\NodeRevisionDeleteForm::__construct
in this issue so we can remove all of NodeDeprecationTest in one issue.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3432871
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3432871-remove-deprecated-functions changes, plain diff MR !7146
Comments
Comment #2
mstrelan CreditAttribution: mstrelan at PreviousNext commentedComment #3
mstrelan CreditAttribution: mstrelan at PreviousNext commentedComment #5
thhomas CreditAttribution: thhomas as a volunteer commentedComment #7
mstrelan CreditAttribution: mstrelan at PreviousNext commentedThis looks good to me. We've removed all the deprecated functions in node.module and the deprecated constructor param in NodeRevisionDeleteForm, and the tests are all passing. Arguably this could be combined with #3432877: Remove deprecated actions from node module but not sure it's worth the effort now that it's already split.
Comment #9
catchCommitted/pushed to 11.x, thanks!