TextType extends StringType
Read onlyYes
Attributes
- #[AsTaggedItem]
- $index: 'text'
Table of Contents
Properties
- $logger : LoggerInterface
Methods
- __construct() : mixed
- getJavaScriptModule() : string
- transformValue() : string
- validate() : bool
Properties
$logger
protected
LoggerInterface
$logger
Methods
__construct()
public
__construct(LoggerInterface $logger) : mixed
Parameters
- $logger : LoggerInterface
getJavaScriptModule()
public
getJavaScriptModule() : string
Return values
stringtransformValue()
public
transformValue(mixed $value, SettingDefinition $definition) : string
Parameters
- $value : mixed
- $definition : SettingDefinition
Return values
stringvalidate()
public
validate(mixed $value, SettingDefinition $definition) : bool
Parameters
- $value : mixed
- $definition : SettingDefinition