Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
commerce_paypal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
commerce_paypal
Commits
98f3d93a
Commit
98f3d93a
authored
2 years ago
by
Guillermo Simeon
Committed by
Jonathan Sacksick
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/Commerce/PaymentMethodType/PayPalCheckout.php
+10
-0
10 additions, 0 deletions
src/Plugin/Commerce/PaymentMethodType/PayPalCheckout.php
with
10 additions
and
0 deletions
src/Plugin/Commerce/PaymentMethodType/PayPalCheckout.php
+
10
−
0
View file @
98f3d93a
...
...
@@ -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
[];
}
}
This diff is collapsed.
Click to expand it.
Jonathan Sacksick
@jsacksick
mentioned in commit
0730a170
·
2 years ago
mentioned in commit
0730a170
mentioned in commit 0730a17013c487adfb94d9c98bb739bea89a946f
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment