$fieldsets->remove()
Removes an object
$fieldsets->remove(string|Kirby\Cms\Fieldset $key): Kirby\Cms\Fieldsets
Parameters
Name | Type | Default | Description |
---|---|---|---|
$keyrequired | string orKirby\Cms\Fieldset |
no default value | the name of the key |
Return type
This method does not modify the existing $fieldsets
object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Cms\Fieldsets
inherited from Kirby\Cms\Collection