Skip to content

Kirby 6.0.0

Slot::begin()

Opens a slot in the current snippet; used by the slot() helper

Slot::begin(string $name = 'default'): Slot|null

Parameters

Name Type Default
$name string 'default'

Return types

Kirby\Template\Slotornull

Parent class

Kirby\Template\Slot