Get all contexts this field is used in
Available since version 3.0.182.
Usage
$array = $field->getContexts();
Return value
array
Array of 'fieldgroup-name' => [ contexts ]
API reference based on ProcessWire core version 3.0.200
“…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