Get Inputfield for field
Usage
$inputfieldCheckbox = $fieldtypeCheckbox->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
InputfieldCheckbox
Returns Inputfield or null if not applicable/available.
FieldtypeCheckbox methods and properties
API reference based on ProcessWire core version 3.0.236