Skip to content

Kirby 4.4.1

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