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