AddLiveSearchResultActionsListener
FinalYes
Event listener to add actions to search results
Table of Contents
Properties
- $iconFactory : IconFactory
- $languageService : LanguageService
- $languageServiceFactory : LanguageServiceFactory
Methods
- __construct() : mixed
- __invoke() : void
- addSwitchUserAction() : void
- getBackendUser() : BackendUserAuthentication
Properties
$iconFactory read-only
protected
IconFactory
$iconFactory
$languageService
protected
LanguageService
$languageService
$languageServiceFactory read-only
protected
LanguageServiceFactory
$languageServiceFactory
Methods
__construct()
public
__construct(IconFactory $iconFactory, LanguageServiceFactory $languageServiceFactory) : mixed
Parameters
- $iconFactory : IconFactory
- $languageServiceFactory : LanguageServiceFactory
__invoke()
public
__invoke(ModifyResultItemInLiveSearchEvent $event) : void
Parameters
- $event : ModifyResultItemInLiveSearchEvent
Attributes
- #[AsEventListener]
- 'typo3/cms-backend/add-live-search-result-actions-listener'
addSwitchUserAction()
protected
addSwitchUserAction(ResultItem $resultItem) : void
Parameters
- $resultItem : ResultItem
getBackendUser()
protected
getBackendUser() : BackendUserAuthentication