Skip to content

Kirby 6.0.0

$passwordField->next()

Returns the next item in the collection if available

$passwordField->next(TCollection|null $collection = null): PasswordField|null

Parameters

Name Type Default
$collection TCollectionornull null

Return types

Kirby\Form\Field\PasswordFieldornull

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

Parent class

Kirby\Form\Field\PasswordField inherited from Kirby\Form\Field