public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
{
if (false === $GLOBALS['TSFE'] instanceof TypoScriptFrontendController) {
return null;
}
$name = $arguments['name'];
$value = $arguments['value'];
if (null === $value) {
$value = $renderChildrenClosure();
}
$GLOBALS['TSFE']->register[$name] = $value;
return null;
}