FrontendGenerationPageIndexingTrigger
Read onlyYes
FinalYes
PSR-14 Event Listener for \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController (TSFE), which is called just before the content should be stored in the TYPO3 Cache.
this is a TYPO3-internal Event listener implementation and not part of TYPO3's Core API.
Table of Contents
Methods
- __construct() : mixed
- indexPageContent() : void
- Trigger indexing of content, after evaluating if this page could / should be indexed.
Methods
__construct()
public
__construct(ExtensionConfiguration $extensionConfiguration, TimeTracker $timeTracker, PageTitleProviderManager $pageTitleProviderManager, Indexer $indexer, EventDispatcherInterface $eventDispatcher, Context $context) : mixed
Parameters
- $extensionConfiguration : ExtensionConfiguration
- $timeTracker : TimeTracker
- $pageTitleProviderManager : PageTitleProviderManager
- $indexer : Indexer
- $eventDispatcher : EventDispatcherInterface
- $context : Context
indexPageContent()
Trigger indexing of content, after evaluating if this page could / should be indexed.
public
indexPageContent(AfterCacheableContentIsGeneratedEvent $event) : void
This is triggered for all page content that can be cached.
Parameters
Attributes
- #[AsEventListener]
- 'indexed-search'