Skip to content

Kirby 3.9.8

$fieldoptions->set()

Universal setter for properties

$fieldoptions->set(string $property, $value): Kirby\Field\FieldOptions

Parameters

Name Type Default
$property * string
$value * mixed

Return type

Kirby\Field\FieldOptions

This method does not modify the existing $fieldoptions object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Field\FieldOptions inherited from Kirby\Blueprint\Node