Set an attribute
Usage
$inputfield = $inputfieldText->setAttribute($key, $value);
Arguments
Name | Type(s) | Description |
---|---|---|
key | array, string | |
value | array, int, string |
Return value
Inputfield
InputfieldText
this
InputfieldText methods and properties
API reference based on ProcessWire core version 3.0.236