Skip to content

Kirby 4.5.0

new Slot()

Creates a new slot

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

Parameters

Name Type Default
$name * string
$content string|null null

Parent class

Kirby\Template\Slot