SettingDefinition

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

Table of Contents

Properties

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

Methods

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

Properties

$category

public string|null $category = null

$default

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

$description

public string|null $description = null

Methods

__construct()

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

Parameters

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

__set_state()

public static __set_state(array $state) : self

Parameters

$state : array

Return values

self

toArray()

public toArray() : array

Return values

array
On this page