Problem/Motivation

The module should support Drupal 12.

Proposed resolution

Upgrade Status recommends the following changes:
CUSTOM PROJECTS
--------------------------------------------------------------------------------
Layout Builder Additions
Scanned on Thu, 14 May 2026 - 11:59.

3 warnings found.

web/modules/layout_builder_additions/src/LayoutBuilderBlockFormTitle.php:
+----------------+------+--------------------------------+
| status | line | message |
+----------------+------+--------------------------------+
| Check
manually | 50 | Unsafe usage of new static().
|
+----------------+------+--------------------------------+
web/modules/layout_builder_additions/layout_builder_additions.info.yml:
+----------------+------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| status | line | message |
+----------------+------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 5 | Value of core_version_requirement: ^9 | ^10 | ^11 is not
compatible with the next major version of Drupal core. See
https://drupal.org/node/3070687.
|
+----------------+------
+---------------------------------------------------------------------------------------------------------------------------------------------------------+
web/modules/layout_builder_additions/composer.json:
+----------------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status | line | message |
+----------------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 1 | The drupal/core requirement is not compatible with the next
major version of Drupal. Either remove it or update it to be
compatible. See
https://www.drupal.org/docs/develop/using-composer/add-a-com
poserjson-file#core-compatibility.
|
+----------------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Remaining tasks

  • Resolve unsafe usage of new static()
  • Update info.yml
  • Update composer
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rklawson created an issue. See original summary.

  • rklawson committed 7982e4d1 on 1.0.x
    Issue #3590181: Updates for Drupal 12 support.
    
rklawson’s picture

Status: Active » Fixed

h3. Updates

  • Resolved the issues that Upgrade Status reported
  • Re-checked that issues are resolved in Upgrade Status
  • Removed phpstan.neon file to address a warning for phpstan in the pipeline
  • Tested functionality in Drupal 11 and Drupal 12
  • Reviewed/merged the MR

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

rklawson’s picture

Status: Fixed » Closed (fixed)

Closing this out as complete.