public function submitRowForm(array &$form, SubFormState $form_state)
 {
     $values = $form_state->getValues();
     $consumer_mappings = array();
     foreach ($values as $key => $value) {
         $consumer_mappings[] = $value['consumer_mappings'];
     }
     $form_state->setValue('consumer_mappings', $consumer_mappings);
     parent::submitRowForm($form, $form_state);
 }
 public function submitRowForm(array &$form, SubFormState $form_state)
 {
     $values = $form_state->getValues();
     // Create an array of just the provider values
     $provider_mappings = array();
     foreach ($values as $key => $value) {
         $provider_mappings[] = $value['provider_mappings'];
     }
     $form_state->setValue('provider_mappings', $provider_mappings);
     parent::submitRowForm($form, $form_state);
 }