ProductCompareSiteMapSubscriber
class ProductCompareSiteMapSubscriber implements EventSubscriberInterface
Class ProductCompareSiteMapSubscriber is injected as product_compare.sitemap.listener service. ProductCompareSiteMapSubscriber is listener class for handling a logic for dispatched events
Methods
__construct(RouterInterface $router, LanguageRepository $languageRepository)
ProductCompareSiteMapSubscriber constructor.
static
getSubscribedEvents()
No description
populateSiteMap(SitemapPopulateEvent $event)
Populate sitemap with products_compare_front route
Details
at line 43
__construct(RouterInterface $router, LanguageRepository $languageRepository)
ProductCompareSiteMapSubscriber constructor.
at line 52
static
getSubscribedEvents()
at line 63
populateSiteMap(SitemapPopulateEvent $event)
Populate sitemap with products_compare_front route