FluidTYPO3\Flux\ViewHelpers\Field\FileViewHelper::initializeArguments PHP Method

initializeArguments() public method

Initialize
public initializeArguments ( ) : void
return void
    public function initializeArguments()
    {
        parent::initializeArguments();
        $this->registerArgument('maxSize', 'integer', 'Maximum file size allowed in KB');
        $this->registerArgument('allowed', 'string', 'Defines a list of file types allowed in this field');
        $this->registerArgument('disallowed', 'string', 'Defines a list of file types NOT allowed in this field');
        $this->registerArgument('uploadFolder', 'string', 'Upload folder. DEPRECATED, will be moved to the File field ViewHelper');
        $this->registerArgument('showThumbnails', 'boolean', 'If TRUE, displays thumbnails for selected values', FALSE, FALSE);
        $this->registerArgument('useFalRelation', 'boolean', 'use a fal relation instead of a simple file path', FALSE, FALSE);
    }