Configuration/Services.yaml
services:
_defaults:
autowire: true
autoconfigure: true
public: false
Leuchtfeuer\SecureDownloads\:
resource: '../Classes/*'
Leuchtfeuer\SecureDownloads\EventListener\SecureDownloadsEventListener:
tags:
- name: event.listener
identifier: sdl.generatePublicUrlForResource
method: onResourceStorageEmitPreGeneratePublicUrlSignal
event: TYPO3\CMS\Core\Resource\Event\GeneratePublicUrlForResourceEvent
- name: event.listener
identifier: sdl.onIconFactoryEmitBuilderIconForResource
method: onIconFactoryEmitBuildIconForResourceSignal
event: TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent
Leuchtfeuer\SecureDownloads\Controller\LogController:
tags: ['backend.controller']