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