plugin/link/Listener/Resource/Types/ShortcutListener.php
public function export(DownloadResourceEvent $event)
    {
        /** @var Shortcut $shortcut */
        $shortcut = $event->getResource();

        $this->resourceLifecycle->export($shortcut->getTarget());
    }
public function export(DownloadResourceEvent $event)
    {
        /** @var Shortcut $shortcut */
        $shortcut = $event->getResource();

        $this->resourceLifecycle->export($shortcut->getTarget());
    }
public function export ( DownloadResourceEvent $ event ) { /** @var Shortcut $shortcut */ $ shortcut = $ event -> getResource ( ) ; $ this -> resourceLifecycle -> export ( $ shortcut -> getTarget ( ) ) ; }
Exports a shortcut.
It forwards the event to the target of the shortcut.

@DI\Observe("resource.shortcut.export")

@param DownloadResourceEvent $event
Exports a shortcut . It forwards the event to the target of the shortcut .