CodeEditor implements SingletonInterface
Provides necessary code to set up a code editor instance in FormEngine
Tags
Table of Contents
Interfaces
- SingletonInterface
- "empty" interface for singletons (marker interface pattern)
Properties
- $configuration : array<string|int, mixed>|null
Methods
- registerConfiguration() : void
- Registers the configuration and bootstraps the modes / addons.
- buildConfiguration() : array<string|int, mixed>
- Compiles the configuration for code editor. Configuration is stored in caching framework.
- generateCacheIdentifier() : string
- getCache() : FrontendInterface
Properties
$configuration
protected
array<string|int, mixed>|null
$configuration
= null
Methods
registerConfiguration()
Registers the configuration and bootstraps the modes / addons.
public
registerConfiguration() : void
Tags
buildConfiguration()
Compiles the configuration for code editor. Configuration is stored in caching framework.
protected
buildConfiguration() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>generateCacheIdentifier()
protected
generateCacheIdentifier(PackageManager $packageManager) : string
Parameters
- $packageManager : PackageManager
Return values
stringgetCache()
protected
getCache() : FrontendInterface