SelectableOptionManager::deleteAllOptionsForField()

Delete all options for given field

Usage

$int = $selectableOptionManager->deleteAllOptionsForField(Field $field);

Arguments

NameType(s)Description
$fieldField

Return value

int

Exceptions

Method can throw exceptions on error:

  • WireException


SelectableOptionManager methods and properties

API reference based on ProcessWire core version 3.0.251