Skip to content

Kirby 6.0.0

$modelListField->deleteSelected()

$modelListField->deleteSelected(array $ids): bool

Parameters

Name Type Default
$idsrequired array no default value

Return type

bool

Exceptions

Type Description
Kirby\Exception\Exception if too few entries would be left
Kirby\Exception\PermissionException if batch mode is off

Parent class

Kirby\Form\Field\ModelListField