Given a Fieldtype name (or class name) return the instantiated Fieldtype module.
If the requested Fieldtype is not already installed, it will be installed here automatically.
Usage
$fieldtype = $fieldtypes->get(string $key);
Arguments
Name | Type(s) | Description |
---|---|---|
key | string | Fieldtype name or class name, or dynamic property of Fieldtypes |
Return value
Exceptions
Method can throw exceptions on error:
WireException
$fieldtypes methods and properties
API reference based on ProcessWire core version 3.0.236