Skip to content

Kirby 5.3.2

$template->hasDefaultType()

Checks if the template uses the default type

$template->hasDefaultType(): bool

Return type

bool

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

Parent class

Kirby\Template\Template