Skip to content

Kirby 5.1.3

$template->defaultType()

Returns the default template type

$template->defaultType(): string

Return type

string

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

Parent class

Kirby\Template\Template