Set an attribute
Usage
$inputfield = $inputfieldFile->setAttribute($key, $value);
Arguments
InputfieldFile methods and properties
API reference based on ProcessWire core version 3.0.244
“…building with ProcessWire was a breeze, I really love all the flexibility the system provides. I can’t imagine using any other CMS in the future.” —Thomas Aull