FrontendGenerationPageIndexingTrigger
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
Properties
- $extensionConfiguration : ExtensionConfiguration
- $indexer : Indexer
- $pageTitleProviderManager : PageTitleProviderManager
- $timeTracker : TimeTracker
Methods
- __construct() : mixed
- indexPageContent() : void
- Trigger indexing of content, after evaluating if this page could / should be indexed.
- initializeIndexerConfiguration() : array<string|int, mixed>
- Setting up internal configuration from config array based on TypoScriptFrontendController Information about page for which the indexing takes place
Properties
$extensionConfiguration
protected
ExtensionConfiguration
$extensionConfiguration
$indexer
protected
Indexer
$indexer
$pageTitleProviderManager
protected
PageTitleProviderManager
$pageTitleProviderManager
$timeTracker
protected
TimeTracker
$timeTracker
Methods
__construct()
public
__construct(ExtensionConfiguration $extensionConfiguration, TimeTracker $timeTracker, PageTitleProviderManager $pageTitleProviderManager, Indexer $indexer) : mixed
Parameters
- $extensionConfiguration : ExtensionConfiguration
- $timeTracker : TimeTracker
- $pageTitleProviderManager : PageTitleProviderManager
- $indexer : Indexer
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
initializeIndexerConfiguration()
Setting up internal configuration from config array based on TypoScriptFrontendController Information about page for which the indexing takes place
protected
initializeIndexerConfiguration(TypoScriptFrontendController $tsfe, LanguageAspect $languageAspect) : array<string|int, mixed>
Parameters
- $tsfe : TypoScriptFrontendController
- $languageAspect : LanguageAspect