Skip to content

Kirby 5.6.3

$translation->isDefault()

Checks if the this is the default translation of the model

Deprecated in 5.0.0
Use ::language()->isDefault() instead
$translation->isDefault(): bool

Return type

bool

This method modifies the existing $translation object it is applied to and returns it again.

Parent class

Kirby\Content\Translation