PreviewAspect

class \TYPO3\CMS\Frontend\Aspect\PreviewAspect

Implements
AspectInterface

The aspect contains information on whether TYPO3 is currently in preview mode

Allowed properties:

  • isPreview

Table of Contents

Interfaces

AspectInterface
Interface AspectInterface Think of an aspect like a property bag

Methods

__construct()  : mixed
get()  : mixed
Get a property from aspect
isPreview()  : bool

Methods

__construct()

public __construct([bool $isPreview = false ]) : mixed

Parameters

$isPreview : bool = false

isPreview()

public isPreview() : bool

Return values

bool
On this page