Skip to content

Kirby 6.0.0

Page::extendModels()

Adds new models to the registry

Page::extendModels(array $models): array

Parameters

Name Type Default
$modelsrequired array<string, class-string> no default value

Return type

array<string, class-string>

Parent class

Kirby\Cms\Page