new Field()
new Field(string $type, array $attrs = [ ], Kirby\Form\Fields|null $siblings = null)
Parameters
Name | Type | Default |
---|---|---|
$typerequired | string |
no default value |
$attrs | array |
[ ]
|
$siblings | Kirby\Form\Fields ornull |
null
|
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |