CodeEditorConfiguration

class \TYPO3\CMS\Backend\CodeEditor\CodeEditorConfiguration

Provides the modes and addons defined by all active packages in "Configuration/Backend/T3editor/Modes.php" and "Configuration/Backend/T3editor/Addons.php".

The compiled definitions are stored in the assets cache.

Table of Contents

Methods

__construct()  : mixed
getAddons()  : Addon[]
getAddonSettings()  : array
Options of all addons, merged in definition order
getDefaultMode()  : Mode
getModeByFileExtension()  : Mode
getModeByFormatCode()  : Mode
getModes()  : Mode[]
hasMode()  : bool

Methods

getAddonSettings()

Options of all addons, merged in definition order

public getAddonSettings() : array

Return values

array

getModes()

public getModes() : Mode[]

Return values

Mode[] —

Modes with their format code as key

hasMode()

public hasMode(string $formatCode) : bool

Parameters

$formatCode : string

Return values

bool
On this page