IsTableExcludedFromReferenceIndexEvent

The PSR-14 event \TYPO3\CMS\Core\DataHandling\Event\IsTableExcludedFromReferenceIndexEvent allows to intercept, if a certain table should be excluded from the reference index. There is no need to add tables without a definition in $GLOBALS['TCA'] since the reference index only handles those.

Example

Note

Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.

API

class TYPO3\CMS\Core\DataHandling\Event\IsTableExcludedFromReferenceIndexEvent

Event to intercept if a certain table should be excluded from the Reference Index.

There is no need to add tables without a definition in $GLOBALS['TCA'] since ReferenceIndex only handles those.

getTable()
Return type

string

markAsExcluded()
isTableExcluded()
Return type

bool

isPropagationStopped()
Return type

bool