Commit bbb0d6c1 authored by catch's avatar catch
Browse files

Issue #3240165 by alexpott: \Drupal\block\Plugin\migrate\process\BlockTheme...

Issue #3240165 by alexpott: \Drupal\block\Plugin\migrate\process\BlockTheme causes deprecations on PHP 8.1
parent c804f144
Loading
Loading
Loading
Loading
+1 −1
Changes for core/modules/block/src/Plugin/migrate/process/BlockTheme.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ public function transform($value, MigrateExecutableInterface $migrate_executable

    // If the source block is assigned to a region in the source admin theme,
    // then assign it to the destination admin theme.
    if (strtolower($theme) == strtolower($admin_theme)) {
    if ($admin_theme && strtolower($theme) == strtolower($admin_theme)) {
      return $this->themeConfig->get('admin');
    }