SelectableOptionManager::addOptions()
Add the given option for $field
Usage
$int = $selectableOptionManager->addOptions(Field $field, $options);Arguments
| Name | Type(s) | Description |
|---|---|---|
$field | Field | |
$options | SelectableOption[] SelectableOptionArray |
Return value
intNumber of options added
SelectableOptionManager methods and properties
API reference based on ProcessWire core version 3.0.261