protected function PayPalBasicOperationsProvider::getPaymentMethodConfiguration in PayPal for Payment 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Payment/Method/PayPalBasicOperationsProvider.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalBasicOperationsProvider::getPaymentMethodConfiguration()
File
- src/
Plugin/ Payment/ Method/ PayPalBasicOperationsProvider.php, line 15
Class
- PayPalBasicOperationsProvider
- Abstract class for PayPal payment method operation providers.
Namespace
Drupal\paypal_payment\Plugin\Payment\MethodCode
protected function getPaymentMethodConfiguration($plugin_id) {
$entity_id = explode(':', $plugin_id)[1];
return $this->paymentMethodConfigurationStorage
->load($entity_id);
}