Skip to content

Kirby 3.9.8

$translations->intersection()

Returns a Collection with the intersection of the given elements

$translations->intersection(\Kirby\Toolkit\Collection $other): Kirby\Cms\Translations

Parameters

Name Type Default
$other * Kirby\Toolkit\Collection

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