Skip to content
Snippets Groups Projects
Commit 98f3d93a authored by Guillermo Simeon's avatar Guillermo Simeon Committed by Jonathan Sacksick
Browse files

Issue #3275716 by simgui8: Uninstalling this module deletes CC tables used by other gateways.

parent ad5d3dec
No related branches found
No related tags found
No related merge requests found
......@@ -26,4 +26,14 @@ class PayPalCheckout extends CreditCard {
return $this->t('PayPal');
}
/**
* {@inheritdoc}
*/
public function buildFieldDefinitions() {
// Return an empty array of fields to ensure these do not get removed when
// commerce_paypal is uninstalled.
// The credit card fields are already installed/defined by commerce_payment.
return [];
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment