Skip to content

Kirby 3.6.6

$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