Example #1
0
 /**
  * @param array $arguments
  * @param \Closure $renderChildrenClosure
  * @param RenderingContextInterface $renderingContext
  * @return mixed
  */
 public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
 {
     GeneralUtility::deprecationLog(sprintf('Deprecated TypoLinkViewHelper from VHS was used. Please use %s instead.', FluidTypolinkViewHelper::class));
     if (null === $arguments['configuration']['additionalAttributes']) {
         $arguments['configuration']['additionalAttributes'] = [];
     }
     return FluidTypolinkViewHelper::renderStatic($arguments['configuration'], $renderChildrenClosure, $renderingContext);
 }