Skip to content

Kirby 6.0.0

$translationField->next()

Returns the next item in the collection if available

$translationField->next(TCollection|null $collection = null): TranslationField|null

Parameters

Name Type Default
$collection TCollectionornull null

Return types

Kirby\Panel\Form\Field\TranslationFieldornull

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

Parent class

Kirby\Panel\Form\Field\TranslationField inherited from Kirby\Form\Field