Skip to content

Kirby 6.0.0

$roleField->isActive()

Checks if the field is currently active or hidden because of a when condition

$roleField->isActive(): bool

Return type

bool

Parent class

Kirby\Panel\Form\Field\RoleField inherited from Kirby\Form\Field