Skip to content

Kirby 6.0.0

Block::extendModels()

Adds new models to the registry

Block::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\Block