Skip to content

Kirby 5.0.4

$language->prevAll()

Returns the beginning of the collection before the current item

$language->prevAll(Kirby\Cms\Languages|null $collection = null): Kirby\Cms\Languages

Parameters

Name Type Default
$collection Kirby\Cms\Languagesornull null

Return type

Kirby\Cms\Languages

This method modifies the existing $language object it is applied to and returns it again.

Parent class

Kirby\Cms\Language