FluidTYPO3\Vhs\ViewHelpers\Asset\PrefetchViewHelper::initializeArguments PHP Method

initializeArguments() public method

public initializeArguments ( ) : void
return void
    public function initializeArguments()
    {
        parent::initializeArguments();
        $this->registerArgument('domains', 'mixed', 'Domain DNS names to prefetch. By default will add all sys_domain record DNS names', true);
        $this->registerArgument('protocol', 'string', 'Optional value of protocol as inserted in the resulting HREF value. If you experience problems with ' . 'a non-protocol link, try enforcing http/https here');
        $this->registerArgument('protocolSeparator', 'string', 'If you do not enforce a particular protocol and wish to remove the double slashes from the hostname ' . '(your browser may not understand this!), set this attribute to an empty value (not-zero)', false, '//');
        $this->registerArgument('force', 'boolean', 'If TRUE, adds an additional meta header tag which forces prefetching to be enabled even if otherwise ' . 'requested by the http daemon', false, false);
    }