Skip to content

Language::create()

Creates a new language object

Language::create(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