AddonRegistry implements SingletonInterface

Registers and holds t3editor modes

Internal

Table of Contents

Interfaces

SingletonInterface
"empty" interface for singletons (marker interface pattern)

Properties

$registeredAddons  : array<string|int, Addon>

Methods

compileSettings()  : array<string|int, mixed>
getForMode()  : array<string|int, Addon>
getInstance()  : self
register()  : self
Registers addons for global use in t3editor

Properties

$registeredAddons

protected array<string|int, Addon> $registeredAddons = []

Methods

compileSettings()

public compileSettings(array<string|int, Addon$addons) : array<string|int, mixed>
Parameters
$addons : array<string|int, Addon>
Return values
array<string|int, mixed>

getForMode()

public getForMode([string $mode = '' ]) : array<string|int, Addon>
Parameters
$mode : string = ''
Return values
array<string|int, Addon>

getInstance()

public static getInstance() : self
Deprecated

will be removed in TYPO3 v12.0. Use Dependency Injection or GeneralUtility::makeInstance() if DI is not possible.

Tags
throws
InvalidArgumentException
Return values
self

register()

Registers addons for global use in t3editor

public register(Addon $addon) : self
Parameters
$addon : Addon
Return values
self

        
On this page

Search results