GeneratePublicUrlForResourceEvent¶
This event is fired before TYPO3 FAL’s native URL generation for a Resource is instantiated.
This allows for listeners to create custom links to certain files (e.g. restrictions) for creating authorized deeplinks.
API¶
- getResource()
| ReturnType:
\TYPO3\CMS\Core\Resource\ResourceInterface
|- getStorage()
| ReturnType:
\TYPO3\CMS\Core\Resource\ResourceStorage
|- getDriver()
| ReturnType:
\TYPO3\CMS\Core\Resource\Driver\DriverInterface
|- isRelativeToCurrentScript()
| ReturnType: bool |
- getPublicUrl()
| ReturnType: ?string |
- setPublicUrl(?string $publicUrl)
| ReturnType: void |