Skip to content

Commit

Permalink
Fixes #3234 AZBackgroundMediaFormatter breaks field displays on non-p…
Browse files Browse the repository at this point in the history
…aragraph entities (#3235)
  • Loading branch information
tadean authored and joeparsons committed Mar 1, 2024
1 parent e5629e0 commit 78d96cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ protected function getAllSettings(FieldItemListInterface $items): array {
$all_settings = [];
// Paragraph instance settings override everything.
$paragraph_settings = $this->getParagraphSettings($items);
$all_settings += $paragraph_settings['az_text_media_paragraph_behavior'];
$all_settings += $paragraph_settings['az_text_media_paragraph_behavior'] ?? [];
// Field formatter settings.
$all_settings += $this->getSettings();
// Fill in all the rest of the required settings.
Expand Down

0 comments on commit 78d96cc

Please sign in to comment.