TargetPageIdViewHelper

final class \TYPO3\CMS\Redirects\ViewHelpers\TargetPageIdViewHelper

Extends
AbstractViewHelper
Uses
CompileWithRenderStatic

The target of a redirect can contain a t3://page link.

This ViewHelper checks for such a case and returns the Page ID

Table of Contents

Methods

initializeArguments()  : void
renderStatic()  : string
Renders the page ID

Methods

initializeArguments()

public initializeArguments() : void

renderStatic()

Renders the page ID

public static renderStatic(array $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string

Parameters

$arguments : array
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface

Return values

string
On this page