Skip to content

Kirby 5.0.4

$layoutField->placeholder()

Optional placeholder value that will be shown when the field is empty

$layoutField->placeholder(): string|null

Return types

stringornull

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

Parent class

Kirby\Form\Field\LayoutField inherited from Kirby\Form\FieldClass