The form instance, or QgsAttributeForm
object, has now been exposed to the Python API for Drag and drop form actions.
This means that QGIS users can now reference the current form and produce actions that change values within the form itself, such as resetting default values or quick actions for applying other user defined presets.
This implementation has been done in line with QEP 251
This feature was developed by Alessandro Pasotti