RGBArrayModuleValueTrait
Module value checks for output classes that use RGB color arrays
Table of Contents
Methods
- moduleValueIsValid() : bool
- getDefaultModuleValue() : array<string|int, mixed>
- prepareModuleValue() : array<string|int, mixed>
Methods
moduleValueIsValid()
public
static moduleValueIsValid(mixed $value) : bool
Parameters
- $value : mixed
Tags
Return values
boolgetDefaultModuleValue()
protected
getDefaultModuleValue(bool $isDark) : array<string|int, mixed>
Parameters
- $isDark : bool
Tags
Return values
array<string|int, mixed>prepareModuleValue()
protected
prepareModuleValue(mixed $value) : array<string|int, mixed>
Parameters
- $value : mixed