Issue #3601560: Drupal 12 compatibility

Drupal 11 and 12 support for 1.2.x, on top of the bot's commit from MR !5. Drupal 10 stays on 1.1.x. The core requirement is ^11.3 || ^12. The hooks live in NodeFormOverridesHooks, which core registers itself from Drupal 11.1, so the .module file and services.yml are no longer needed. The hooks class gets its services through its constructor, which fixes the eight PHPStan errors in the bot's pipeline. CI also runs the tests on Drupal 11.3 and Drupal 12.

Edited by J P

Merge request reports

Loading
Loading