ContentAreaViewHelper extends AbstractViewHelper

ViewHelper

This class is the implementation of a Fluid ViewHelper.

View this class in the TYPO3 ViewHelper reference: <f:render.contentarea>

FinalYes

ViewHelper to render a content area as provided by the page-content processor.

The most common use case is to render all content elements within column from a backend layout.

  page = PAGE
  page.10 = PAGEVIEW
  page.10.paths.10 = EXT:my_site_package/Resources/Private/Templates/
  <f:render.contentArea contentArea="{content.main}" />

or:

  {content.main -> f:render.contentArea()}
Tags
see
https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-render-contentarea

Table of Contents

Properties

$escapeOutput  : bool

Methods

__construct()  : mixed
getContentArgumentName()  : string
initializeArguments()  : void
render()  : string

Properties

$escapeOutput

protected bool $escapeOutput = false

use content as-is

Methods

__construct()

public __construct(EventDispatcherInterface $eventDispatcher) : mixed
Parameters
$eventDispatcher : EventDispatcherInterface

getContentArgumentName()

public getContentArgumentName() : string
Return values
string

initializeArguments()

public initializeArguments() : void

render()

public render() : string
Return values
string

        
On this page

Search results