Skip to content

Kirby 4.1.2

$structure->without()

Alias for $this->not()

$structure->without(string ...$keys = null): Kirby\Cms\Structure

Parameters

Name Type Default Description
... $keys string null any number of keys, passed as individual arguments

Return type

Kirby\Cms\Structure

This method does not modify the existing $structure object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Collection