Skip to content

Kirby 5.1.2

new Slot()

Creates a new slot

new Slot(string $name, string|null $content = null)

Parameters

Name Type Default
$namerequired string no default value
$content stringornull null

Parent class

Kirby\Template\Slot