Add the given new options
Usage
$int = $fieldtypeOptions->addOptions($field, SelectableOptionArray $options);
Arguments
Name | Type(s) | Description |
---|---|---|
field | ||
options | SelectableOptionArray |
Return value
int
Number of options added
Exceptions
Method can throw exceptions on error:
WireException
FieldtypeOptions methods and properties
API reference based on ProcessWire core version 3.0.236