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.

Internal

Table of Contents

Methods

__construct()  : mixed
getAddons()  : array<string|int, Addon>
getAddonSettings()  : array<string|int, mixed>
Options of all addons, merged in definition order
getDefaultMode()  : Mode
getModeByFileExtension()  : Mode
getModeByFormatCode()  : Mode
getModes()  : array<string|int, Mode>
hasMode()  : bool

Methods

getAddons()

public getAddons() : array<string|int, Addon>
Return values
array<string|int, Addon>

getAddonSettings()

Options of all addons, merged in definition order

public getAddonSettings() : array<string|int, mixed>
Return values
array<string|int, mixed>

getModes()

public getModes() : array<string|int, Mode>
Return values
array<string|int, Mode> —

Modes with their format code as key

hasMode()

public hasMode(string $formatCode) : bool
Parameters
$formatCode : string
Return values
bool
On this page

Search results