Get option by value
Available since version 3.0.242.
Usage
$selectableOption = $selectableOptionArray->getByValue(string $value);
Arguments
Name | Type(s) | Description |
---|---|---|
value | string |
Return value
SelectableOption
null
SelectableOptionArray methods and properties
API reference based on ProcessWire core version 3.0.244