AsFileRenderer

Service tag to autoconfigure file renderers for the RendererRegistry.

Attributes
#[Attribute]
\Attribute::TARGET_CLASS

Table of Contents

Constants

TAG_NAME  : mixed = 'fal.file_renderer'

Properties

$priority  : int
The priority of the renderer. This way it is possible to define/overrule a renderer for a specific file type/context, for example a video renderer for a certain storage/driver type.

Methods

__construct()  : mixed

Constants

TAG_NAME

public mixed TAG_NAME = 'fal.file_renderer'

Properties

$priority

The priority of the renderer. This way it is possible to define/overrule a renderer for a specific file type/context, for example a video renderer for a certain storage/driver type.

public int $priority = 0

Renderers with a higher priority are asked first whether they can render a given file. All file renderers shipped with TYPO3 Core use the default priority of 0.

Methods

__construct()

public __construct([int $priority = 0 ]) : mixed
Parameters
$priority : int = 0
On this page

Search results