Leuchtfeuer/typo3-secure-downloads

View on GitHub
Configuration/Services.yaml

Summary

Maintainability
Test Coverage
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']