Field::factory()
Creates a new field instance
Parameters
Name | Type | Default |
---|---|---|
$type * | string |
– |
$attrs | array |
[ ] |
$formFields | Kirby\Form\Fields |
null |
Creates a new field instance
Name | Type | Default |
---|---|---|
$type * | string |
– |
$attrs | array |
[ ] |
$formFields | Kirby\Form\Fields |
null |