Skip to content

Kirby 3.7.5

$translations->extend()

Adds all elements to the collection

$translations->extend(mixed $items): Kirby\Cms\Translations

Parameters

Name Type Default
$items * mixed

Return type

Kirby\Cms\Translations

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

Parent class

Kirby\Cms\Translations inherited from Kirby\Toolkit\Collection