$fieldClass->when() Returns the when condition of the field kirby/src/Form/Mixin/When.php#L54 $fieldClass->when(): array|null Return types array|ornull Parent class Kirby\Form\FieldClass