Skip to content

Kirby 5.1.2

$fileBlueprint->acceptedFileTemplates()

Gathers what file templates are allowed in this model based on the blueprint

$fileBlueprint->acceptedFileTemplates(string|null $inSection = null): array

Parameters

Name Type Default
$inSection stringornull null

Return type

array

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

Parent class

Kirby\Cms\FileBlueprint inherited from Kirby\Cms\Blueprint