Get the root parent InputfieldWrapper element (farthest parent, commonly InputfieldForm)
This returns null only if Inputfield it is called from has not yet been added to an InputfieldWrapper.
Available since version 3.0.106.
Usage
$inputfieldForm = $inputfield->getRootParent();
Return value
InputfieldForm
InputfieldWrapper
null
Inputfield methods and properties
API reference based on ProcessWire core version 3.0.236