- Issue created by @mrshowerman
Automatically closed - issue fixed for 2 weeks with no activity.
I found two things in abstract class Drupal\openculturas_teaser\Plugin\paragraphs\Behavior that should be improved:
getBaseBuildArray() the potentially expensive function getTeaserMediaId() and then overrides its result with a static value, if that is given. getTeaserMediaId() should only be called if necessary.getTeaserMediaId(), a condition on $item['type'] doesn't check if that key exists, resulting in a notice.
Active
2.4
Code
Automatically closed - issue fixed for 2 weeks with no activity.