*
* This is being shown in case you have access.
*
*
* This is being displayed in case you do not have access.
*
*
* ```
*
* @see https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-be-security-ifauthenticated
*/
final class IfAuthenticatedViewHelper extends AbstractConditionViewHelper
{
public static function verdict(array $arguments, RenderingContextInterface $renderingContext): bool
{
return isset($GLOBALS['BE_USER']) && $GLOBALS['BE_USER']->user['uid'] > 0;
}
}