Hi
I have an event subscriber
public static function getSubscribedEvents(): array
{
return [
ProductEvents::PRODUCT_REVIEW_LOADED => ‘onProductReviewLoads’
];
}
public function onProductReviewLoads(EntityLoadedEvent $event)
{
}
I want to fetch some data from DB and pass it to the storefront view page.
How to pass data to the storefront view page from subscriber?