class OnBreadcrumbTitleGetSiteAndPageTitleBeforeListener

Methods

__construct(RequestInterface $request, MetaStatements $metaStatements)

OnBreadcrumbTitleGetSiteAndPageTitleBeforeListener constructor.

useMetaTitle(GetSiteAndPageTitleBeforeEvent $event)

If the current page has a custom meta title set, use it (instead of the default one)

Details

at line 30
__construct(RequestInterface $request, MetaStatements $metaStatements)

OnBreadcrumbTitleGetSiteAndPageTitleBeforeListener constructor.

Parameters

RequestInterface $request
MetaStatements $metaStatements

at line 41
useMetaTitle(GetSiteAndPageTitleBeforeEvent $event)

If the current page has a custom meta title set, use it (instead of the default one)

Parameters

GetSiteAndPageTitleBeforeEvent $event