Skip to content

Commit 65cf442

Browse files
committed
TASK: Set DimensionInformationViewHelper node argument optional
1 parent 81fdad5 commit 65cf442

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/ViewHelpers/DimensionInformationViewHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class DimensionInformationViewHelper extends AbstractViewHelper
1616
*/
1717
public function initializeArguments()
1818
{
19-
$this->registerArgument('node', NodeInterface::class, 'Node', true);
19+
$this->registerArgument('node', NodeInterface::class, 'Node', false);
2020
$this->registerArgument('dimension', 'string', 'Dimension', false, null);
2121
}
2222

0 commit comments

Comments
 (0)