StringListType implements SettingsTypeInterface
Read onlyYes
Attributes
- #[AsTaggedItem]
- $index: 'stringlist'
Table of Contents
Interfaces
Properties
- $logger : LoggerInterface
Methods
- __construct() : mixed
- doValidate() : bool
- getJavaScriptModule() : string
- transformValue() : array<string|int, mixed>
- validate() : bool
Properties
$logger
protected
LoggerInterface
$logger
Methods
__construct()
public
__construct(LoggerInterface $logger) : mixed
Parameters
- $logger : LoggerInterface
doValidate()
public
doValidate(StringType $stringType, array<string|int, mixed> $value, SettingDefinition $definition) : bool
Parameters
- $stringType : StringType
- $value : array<string|int, mixed>
- $definition : SettingDefinition
Return values
boolgetJavaScriptModule()
public
getJavaScriptModule() : string
Return values
stringtransformValue()
public
transformValue(mixed $value, SettingDefinition $definition) : array<string|int, mixed>
Parameters
- $value : mixed
- $definition : SettingDefinition
Return values
array<string|int, mixed>validate()
public
validate(mixed $value, SettingDefinition $definition) : bool
Parameters
- $value : mixed
- $definition : SettingDefinition