Skip to content

Kirby 3.8.4

$language->clone()

Creates an instance with the same initial properties.

$language->clone(array $props = [ ]): Kirby\Cms\Language

Parameters

Name Type Default
$props array [ ]

Return type

Kirby\Cms\Language

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

Parent class

Kirby\Cms\Language inherited from Kirby\Cms\Model