fix: #3638604 Pass a provider in the Bootstrap layout deriver for PHP 8.5

Closes https://www.drupal.org/i/3638604

Pass 'provider' => 'varbase_layout_builder' in each derived LayoutDefinition, as Bootstrap Layout Builder's own deriver does. Without it, layout discovery calls moduleExists(NULL) and themeExists(NULL), which PHP 8.5 logs as "Using null as an array offset is deprecated".

Checked on Drupal 11.4.12 with PHP 8.5.12: both deprecations are gone.

AI-Generated: Yes

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release
Edited by Rajab Natshah

Merge request reports

Loading
Loading