Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
\Drupal\block\Plugin\migrate\process\BlockTheme::transform() can cause deprecation because $admin_theme is not always set.
Steps to reproduce
Run \Drupal\Tests\block\Kernel\Migrate\d6\MigrateBlockContentTranslationTest
on PHP 8.1
Proposed resolution
Check it is set before passing to a string function.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3240165-2.patch | 735 bytes | alexpott |
Comments
Comment #2
alexpottHere's the fix from the meta.
Comment #3
larowlanComment #5
catchCommitted bbb0d6c and pushed to 9.3.x. Thanks!