Skip to content

Kirby 3.6.6

$fields->not()

Returns a Collection without the given element(s)

$fields->not(string $keys = null): Kirby\Form\Fields

Parameters

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

Return type

Kirby\Form\Fields

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

Parent class

Kirby\Form\Fields inherited from Kirby\Toolkit\Collection