Skip to content

Commit

Permalink
OEL-2739: Remove unnecessary override for oe_av_media.
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronGilMartinez committed Jun 7, 2024
1 parent 91477ce commit f790a8c
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,6 @@ function oe_whitelabel_preprocess_paragraph__oe_av_media(array &$variables): voi
if (!empty($variables['image']) && $variables['image'] instanceof ImageValueObjectInterface) {
$variables['image'] = $variables['image']->toRenderArray();
}
elseif (!empty($variables['embedded_media'])) {
// Remove wrapper to allow ratio to apply.
$variables['embedded_media']['#theme'] = 'field__bare';
}
}

/**
Expand Down

0 comments on commit f790a8c

Please sign in to comment.