Skip to content

Kirby 4.2.0

$translation->id()

Returns the translation id, which is also the code

$translation->id(): string

Return type

string

Parent class

Kirby\Cms\Translation