url()

The url() function is a shorthand method of instantiating a new Url Object. It also allows you to use Url Objects within Output tags e.g.


    {{ url('/').absolute }} // https://www.evance.it
    
    {{ url('~/').toCdn().absolute }} // https://cdn.evance.me/portal/web/gateway/
    
    {{ url('~/theme') }} // /portal/web/gateway/theme/v4

This in turn means that the Url object can be instantiated for limited use from within an editable region in the CMS.

The arguments accepted for the url() function are the same as those for the Url Object's construct.

COVID-19 NOTICE – Business as Usual
Evance continues to provide all services and support throughout this difficult period. See our full statement here .