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

initializeArguments() public method

Initialize arguments.
public initializeArguments ( ) : void
return void
    public function initializeArguments()
    {
        parent::initializeArguments();
        $this->registerArgument('src', 'string', 'Path to the image.', true);
        $this->registerArgument('alt', 'string', 'Text for the alt tag.', true);
        $this->registerArgument('title', 'string', 'Text for the alt tag.');
    }