AddonRegistry

class \TYPO3\CMS\T3editor\Registry\AddonRegistry

Implements
SingletonInterface

Registers and holds t3editor modes

Table of Contents

Interfaces

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

Properties

$registeredAddons  : Addon[]

Methods

compileSettings()  : array
getForMode()  : Addon[]
getInstance()  : self
register()  : self
Registers addons for global use in t3editor

Properties

Methods

compileSettings()

public compileSettings(Addon[] $addons) : array

Parameters

$addons : Addon[]

Return values

array

getForMode()

public getForMode([string $mode = '' ]) : Addon[]

Parameters

$mode : string = ''

Return values

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