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