Skip to content

Kirby 4.2.0

$haschildren->hasDrafts()

Checks if the model has any draft children

$haschildren->hasDrafts(): bool

Return type

bool

Parent class

Kirby\Cms\HasChildren