Skip to content

$language->clone()

Creates an instance with the same initial properties.

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

Parameters

Name Type Default
$props array [ ]

Return type

Kirby\Cms\Model

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