SettingDefinition

final readonly class \TYPO3\CMS\Core\Settings\SettingDefinition

Implements
JsonSerializable

Table of Contents

Interfaces

JsonSerializable

Properties

$category  : string|null
$default  : string|int|float|bool|array|object|null
$description  : string|null
$enum  : array
$key  : string
$label  : string
$options  : array
$readonly  : bool
$tags  : array
$type  : string

Methods

__construct()  : mixed
__set_state()  : self
jsonSerialize()  : array

Properties

$category

public string|null $category = null

$default

public string|int|float|bool|array|object|null $default

$description

public string|null $description = null

Methods

__construct()

public __construct(string $key, string $type, string|int|float|bool|array|object|null $default, string $label[, string|null $description = null ][, bool $readonly = false ][, array<int|string, string|int|float|bool> $enum = [] ][, string|null $category = null ][, array<int, string> $tags = [] ][, array<string, mixed> $options = [] ]) : mixed

Parameters

$key : string
$type : string
$default : string|int|float|bool|array|object|null
$label : string
$description : string|null = null
$readonly : bool = false
$enum : array<int|string, string|int|float|bool> = []
$category : string|null = null
$tags : array<int, string> = []
$options : array<string, mixed> = []

__set_state()

public static __set_state(array $state) : self

Parameters

$state : array

Return values

self

jsonSerialize()

public jsonSerialize() : array

Return values

array
On this page