Issue #3594696: Drupal 12 compatibility

Drupal 12 readiness, for #3594696.

Base: 3.x (tip ee53961).

  • ^12 added to core_version_requirement in the four info.yml files. None of the open MRs here (!213, !215, !218) adds it, so the module cannot be installed with Composer on Drupal 12.

Update: an earlier revision of this MR also replaced views_invalidate_cache() with Views::invalidateCache(). That was wrong: Views::invalidateCache() does not exist in core 11.4.9 (the phpunit job failed on /admin/flush/views), and views_invalidate_cache() is still present in core main. The change was reverted in the last commit.

Not covered here: the REQUIREMENT_ERROR change already in !213/!218, and the DeriverInterface change in !215.

Backlink: https://github.com/YCloudYUSA/yusaopeny/pull/388 (Drupal 12 readiness of the YMCA Website Services distribution).

Edited by Andrii Podanenko

Merge request reports

Loading
Loading