Issue #3608762: Add Drupal 12 compatibility, enable next-major CI testing and improve test coverage
Closes #3608762
Summary
- Enable
OPT_IN_TEST_NEXT_MAJORin.gitlab-ci.ymlso the pipeline tests against the next major version (Drupal 12). - Add
^12tocore_version_requirement, now backed by the next-major CI job rather than only a static Rector scan. - Add kernel test coverage for the field formatter (
ExternalLinkA11yFormatter), which previously had none:target="_blank"added to external links by default, omitted whenadd_target_blankis disabled,rel="noopener"added for new-window links, and internal links left unaffected.
Testing
All kernel tests pass locally on Drupal 11 (12 tests, 40 assertions). The next-major job in this MR's pipeline is what verifies Drupal 12.
Supersedes the Project Update Bot issue #3598063 / MR !7, which only widened core_version_requirement without tests or an actual next-major CI run.