Skip to content

Kirby 5.4.0

$option->id()

$option->id(): string|int|float

Return types

stringorintorfloat

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

Parent class

Kirby\Option\Option