Class

eZ\Bundle\EzPublishCoreBundle\EventListener\ContentDownloadRouteReferenceListener

class ContentDownloadRouteReferenceListener implements EventSubscriberInterface

Constants

ROUTE_NAME

OPT_FIELD_IDENTIFIER

OPT_CONTENT

OPT_CONTENT_ID

OPT_DOWNLOAD_NAME

OPT_DOWNLOAD_LANGUAGE

OPT_SITEACCESS_LANGUAGE

OPT_SITEACCESS

OPT_VERSION

Methods

__construct(TranslationHelper $translationHelper)

static  getSubscribedEvents()

onRouteReferenceGeneration(RouteReferenceGenerationEvent $event)

Details

at line 32
public __construct(TranslationHelper $translationHelper)

Parameters

TranslationHelper $translationHelper

at line 37
static public getSubscribedEvents()

at line 47
public onRouteReferenceGeneration(RouteReferenceGenerationEvent $event)

Parameters

RouteReferenceGenerationEvent $event

Exceptions

InvalidArgumentException If the required arguments are not correct