Skip to content

Kirby 6.0.0

$usernameField->next()

Returns the next item in the collection if available

$usernameField->next(TCollection|null $collection = null): UsernameField|null

Parameters

Name Type Default
$collection TCollectionornull null

Return types

Kirby\Panel\Form\Field\UsernameFieldornull

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

Parent class

Kirby\Panel\Form\Field\UsernameField inherited from Kirby\Form\Field