Get the InputfieldToggle instance
Usage
$inputfieldToggle = $fieldtypeToggle->getInputfield(Page $page, Field $field);
Arguments
Name | Type(s) | Description |
---|---|---|
page | Page | Page that the Inputfield will be for |
field | Field | Field that the Inputfield will be for |
Return value
InputfieldToggle
Returns Inputfield or null if not applicable/available.
FieldtypeToggle methods and properties
API reference based on ProcessWire core version 3.0.236