FluidTYPO3\Vhs\ViewHelpers\Page\LanguageMenuViewHelper::initializeArguments PHP Метод

initializeArguments() публичный Метод

Initialize
public initializeArguments ( ) : void
Результат void
    public function initializeArguments()
    {
        $this->registerUniversalTagAttributes();
        $this->registerArgument('tagName', 'string', 'Tag name to use for enclosing container, list and flags (not finished) only', false, 'ul');
        $this->registerArgument('tagNameChildren', 'string', 'Tag name to use for child nodes surrounding links, list and flags only', false, 'li');
        $this->registerArgument('defaultIsoFlag', 'string', 'ISO code of the default flag', false, 'gb');
        $this->registerArgument('defaultLanguageLabel', 'string', 'Label for the default language', false, 'English');
        $this->registerArgument('order', 'mixed', 'Orders the languageIds after this list', false, '');
        $this->registerArgument('labelOverwrite', 'mixed', 'Overrides language labels');
        $this->registerArgument('hideNotTranslated', 'boolean', 'Hides languageIDs which are not translated', false, false);
        $this->registerArgument('layout', 'string', 'How to render links when using autorendering. Possible selections: name,flag - use fx "name" or ' . '"flag,name" or "name,flag"', false, 'flag,name');
        $this->registerArgument('useCHash', 'boolean', 'Use cHash for typolink', false, true);
        $this->registerArgument('flagPath', 'string', 'Overwrites the path to the flag folder', false, '');
        $this->registerArgument('flagImageType', 'string', 'Sets type of flag image: png, gif, jpeg', false, 'svg');
        $this->registerArgument('linkCurrent', 'boolean', 'Sets flag to link current language or not', false, true);
        $this->registerArgument('classCurrent', 'string', 'Sets the class, by which the current language will be marked', false, 'current');
        $this->registerArgument('as', 'string', 'If used, stores the menu pages as an array in a variable named according to this value and renders ' . 'the tag content - which means automatic rendering is disabled if this attribute is used', false, 'languageMenu');
        $this->registerArgument('pageUid', 'integer', 'Optional page uid to use.', false, 0);
        $this->registerArgument('configuration', 'array', 'Additional typoLink configuration', false, []);
        $this->registerArgument('excludeQueryVars', 'string', 'Comma-separate list of variables to exclude', false, '');
    }