Skip to content

Kirby 5.0.4

$translations->not()

Returns a Collection without the given element(s)

$translations->not(string|array|object ...$keys): Kirby\Content\Translations

Parameters

Name Type Default Description
...$keys stringorarrayorobject no default value any number of keys,
passed as individual arguments

Return type

Kirby\Content\Translations

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