bundle/DependencyInjection/Compiler/ContentDownloadUrlGeneratorPass.php
public function process(ContainerBuilder $container): void
    {
        if ($container->has('ezpublish.fieldType.ease.download_url_generator')) {
            $container
                ->findDefinition('ezpublish.fieldType.ezbinarybase.download_url_generator')
                ->setClass(ContentDownloadUrlGenerator::class);
        }
    }
public function process(ContainerBuilder $container): void
    {
        if ($container->has('ezpublish.fieldType.ease.download_url_generator')) {
            $container
                ->findDefinition('ezpublish.fieldType.ezbinarybase.download_url_generator')
                ->setClass(ContentDownloadUrlGenerator::class);
        }
    }
public function process ( ContainerBuilder $ container ) : void { if ( $ container -> has ( 'ezpublish.fieldType.ease.download_url_generator' ) ) { $ container -> findDefinition ( 'ezpublish.fieldType.ezbinarybase.download_url_generator' ) -> setClass ( ContentDownloadUrlGenerator :: class ) ; } }
Override content download URL generator to generate download links
to files with Netgen Site download route.
Override content download URL generator to generate download links to files with Netgen Site download route .