Find fields by type
Available since version 3.0.194.
Usage
// basic usage
$array = $fields->findByType($type);
// usage with all arguments
$array = $fields->findByType($type, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
type | string, Fieldtype | Fieldtype class name or object |
options (optional) | array |
|
Return value
$fields methods and properties
API reference based on ProcessWire core version 3.0.236