ColorSettingsProvider
FinalYes
Table of Contents
Methods
- __construct() : mixed
- fetchForJsComponent() : array<string|int, mixed>
- getByColorId() : array<string|int, mixed>|null
- getDefaultColorId() : string
- isAvailableColorId() : bool
- setReadOnlyMode() : ColorSettingsProvider
Methods
__construct()
public
__construct([string|null $colorId = null ]) : mixed
Parameters
- $colorId : string|null = null
fetchForJsComponent()
public
fetchForJsComponent() : array<string|int, mixed>
Return values
array<string|int, mixed>getByColorId()
public
getByColorId(string $colorId) : array<string|int, mixed>|null
Parameters
- $colorId : string
Return values
array<string|int, mixed>|nullgetDefaultColorId()
public
static getDefaultColorId() : string
Return values
stringisAvailableColorId()
public
isAvailableColorId(string $colorId) : bool
Parameters
- $colorId : string
Return values
boolsetReadOnlyMode()
public
setReadOnlyMode(bool $readOnlyMode) : ColorSettingsProvider
Parameters
- $readOnlyMode : bool