Skip to content

Commit

Permalink
[TASK] register argument source
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelmatseriks authored and dmh committed Dec 4, 2018
1 parent e46e794 commit a10f0a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/ViewHelpers/Render/SvgViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class SvgViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('source', 'string', 'Specifies the source file', true);
$this->registerArgument('class', 'string', 'Specifies an alternate class for the svg', false);
$this->registerArgument('width', 'float', 'Specifies a width for the svg', false);
$this->registerArgument('height', 'float', 'Specifies a height for the svg', false);
Expand Down

0 comments on commit a10f0a1

Please sign in to comment.