FluidTYPO3\Vhs\ViewHelpers\Page\LinkViewHelper::initializeArguments PHP Method

initializeArguments() public method

Arguments initialization
public initializeArguments ( ) : void
return void
    public function initializeArguments()
    {
        $this->registerUniversalTagAttributes();
        $this->registerPageRecordArguments();
        $this->registerTagAttribute('target', 'string', 'Target of link', false);
        $this->registerTagAttribute('rel', 'string', 'Specifies the relationship between the current document and the linked document', false);
        $this->registerArgument('pageUid', 'integer', 'UID of the page to create the link and fetch the title for.', false, 0);
        $this->registerArgument('additionalParams', 'array', 'Query parameters to be attached to the resulting URI', false, []);
        $this->registerArgument('pageType', 'integer', 'Type of the target page. See typolink.parameter', false, 0);
        $this->registerArgument('noCache', 'boolean', 'When TRUE disables caching for the target page. You should not need this.', false, false);
        $this->registerArgument('noCacheHash', 'boolean', 'When TRUE supresses the cHash query parameter created by TypoLink. You should not need this.', false, false);
        $this->registerArgument('section', 'string', 'The anchor to be added to the URI', false, '');
        $this->registerArgument('linkAccessRestrictedPages', 'boolean', 'DEPRECATED: Use showAccessProtected instead.');
        $this->registerArgument('absolute', 'boolean', 'When TRUE, the URI of the rendered link is absolute', false, false);
        $this->registerArgument('addQueryString', 'boolean', 'When TRUE, the current query parameters will be kept in the URI', false, false);
        $this->registerArgument('argumentsToBeExcludedFromQueryString', 'array', 'Arguments to be removed from the URI. Only active if $addQueryString = TRUE', false, []);
        $this->registerArgument('titleFields', 'string', 'CSV list of fields to use as link label - default is "nav_title,title", change to for example ' . '"tx_myext_somefield,subtitle,nav_title,title". The first field that contains text will be used. ' . 'Field value resolved AFTER page field overlays.', false, 'nav_title,title');
        $this->registerArgument('pageTitleAs', 'string', 'When rendering child content, supplies page title as variable.');
    }