Install

Works with Drupal: ^10.1 || ^11 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 10.95 KB
MD5: 1dc6bb56e6d7cd7bf6dd13343b1ec8f2
SHA-1: b0fac009d9f58be67d92e90a5b648bf61795fa68
SHA-256: 996e6b4c7ac1979c8337078c6f66813fc704dd39712864bcbf7ee1fcf29eb8c5
Download zip 16.63 KB
MD5: a5ec94142b4a7f81db1734b76b518508
SHA-1: 9077b50bb11be872dbcc91af0b21f5cad69307d6
SHA-256: 406ec2cab59e40266c15ce15afceb96bfadc06f38a4cb242415be69835c3c982

Release notes

Drupal 12 compatibility

This release adds Drupal 12 compatibility.

Changes
- Update supported Drupal core versions to `^10.1 || ^11 || ^12`.
- Migrate hooks to an object-oriented hook service, retaining legacy wrappers for backward compatibility.
- Update PHPUnit metadata so the existing functional tests run on Drupal 12.

Requirements
The minimum supported Drupal version is now **10.1**, increased from Drupal 10.0.

Testing
- All 8 existing functional tests passed on Drupal 12.0.x-dev, with 61 assertions.
- Manual testing passed on Drupal 11 and Drupal 12, covering locking and unlocking, deletion-route and access-check protection, and content-overview lock icon updates without a manual cache rebuild.
- Drupal 10 compatibility was not tested locally.

Related issue
- [#3601773: Automated Drupal 12 compatibility fixes](https://git.drupalcode.org/project/page_deletion_guard/-/work_items/3601773)

Includes the automated changes from MR !2 and the functional-test updates merged through MR !3.

Created by: joespinelli7
Created on: 16 Nov 2026 at 20:21 UTC
Last updated: 16 Nov 2026 at 20:21 UTC
New features

Other releases