I looked through my plugin code, and unfortunately this isn’t handled by me. This is handled by GravityForms proper, with it’s Feed Addon API.
'fields' => array (
array(
'name' => 'fieldMap',
'label' => __( 'HubSpot to Gravity Forms', 'gravityforms-hubspot' ),
'type' => 'field_map',
'field_map' => $this->list_hubspot_form_fields(),
'tooltip' => '<h6>'. __( 'Map Fields', 'gravityforms-hubspot' ) .'</h6>' . __( 'Select which Gravity Form fields pair with their respective HubSpot fields.', 'gravityforms-hubspot' )
),
),
The fields I provide via ‘field_map’ are only HubSpot fields, not their Gravity Forms dropdowns. I just tried to tinker with that, with no luck. I will keep looking into it, but your research may be as good as mine (looking through the gravityforms code for an apply_filter on the dropdown fields that are generated)… I’ll see what I can find out, but for the sake of my plugin, this task is resolved…