Skip to content

Kirby 3.8.4

$responder->type()

Setter and getter for the content type

$responder->type(string $type = null): string|Kirby\Cms\Responder

Parameters

Name Type Default
$type string null

Return type

string|Kirby\Cms\Responder

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

Parent class

Kirby\Cms\Responder