Skip to content

Kirby 5.3.1

$content->convertTo()

Converts the content to a new blueprint

$content->convertTo(string $to): array

Parameters

Name Type Default
$torequired string no default value

Return type

array

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

Parent class

Kirby\Content\Content