FluidTYPO3\Vhs\ViewHelpers\Media\SourceViewHelper::initializeArguments PHP Method

initializeArguments() public method

Initialize arguments.
public initializeArguments ( ) : void
return void
    public function initializeArguments()
    {
        parent::initializeArguments();
        $this->registerArgument('media', 'string', 'Media query for which breakpoint this sources applies');
        $this->registerArgument('width', 'string', 'Width of the image. This can be a numeric value representing the fixed width of the image in pixels. ' . 'But you can also perform simple calculations by adding "m" or "c" to the value. See imgResource.width ' . 'for possible options.');
        $this->registerArgument('height', 'string', 'Height of the image. This can be a numeric value representing the fixed height of the image in pixels. ' . 'But you can also perform simple calculations by adding "m" or "c" to the value. See imgResource.width ' . 'for possible options.');
        $this->registerArgument('maxW', 'integer', 'Maximum Width of the image. (no upscaling)');
        $this->registerArgument('maxH', 'integer', 'Maximum Height of the image. (no upscaling)');
        $this->registerArgument('minW', 'integer', 'Minimum Width of the image.');
        $this->registerArgument('minH', 'integer', 'Minimum Height of the image.');
        $this->registerArgument('format', 'string', 'Format of the processed file - also determines the target file format. If blank, TYPO3/IM/GM default ' . 'is taken into account.');
        $this->registerArgument('quality', 'integer', 'Quality of the processed image. If blank/not present falls back to the default quality defined ' . 'in install tool.');
    }