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.
hook_update_last_removed() is not useful in Drupal 8.0 as all update hooks have been removed and replaced with migrations. Forum's implementation still remains but it looks like it should have been removed back in #2168011: Remove all 7.x to 8.x update hooks and disallow updates from the previous major version.
Comment | File | Size | Author |
---|---|---|---|
forum_update_last_removed.patch | 374 bytes | longwave | |
Comments
Comment #3
longwaveTestbot segfaulted in Drupal\user\Tests\Migrate\MigrateUserProfileEntityDisplayTest
Comment #7
larowlanThanks
Comment #9
longwaveComment #10
xjmOkay yeah, this implementation is definitely not needed anymore. :)
The hook itself can still be useful if modules want to remove update hooks between minor versions or such. I'm not sure we will be ready to provide a migration-only upgrade path between minors. In any case the hook itself can be discussed in a separate issue.