Skip to content

Kirby 5.3.3

$template->type()

Returns the template type

$template->type(): string

Return type

string

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

Parent class

Kirby\Template\Template