Skip to content

Kirby 5.1.1

$modelWithContent->translations()

Returns the translations collection

$modelWithContent->translations(): Kirby\Content\Translations

Return type

Kirby\Content\Translations

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

Parent class

Kirby\Cms\ModelWithContent