abstract class PayPalBasicOperationsProvider in PayPal for Payment 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Payment/Method/PayPalBasicOperationsProvider.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalBasicOperationsProvider
Abstract class for PayPal payment method operation providers.
Hierarchy
- class \Drupal\payment\Plugin\Payment\Method\PaymentMethodConfigurationOperationsProvider implements ContainerInjectionInterface, PluginOperationsProviderInterface uses StringTranslationTrait
- class \Drupal\payment\Plugin\Payment\Method\BasicOperationsProvider
- class \Drupal\paypal_payment\Plugin\Payment\Method\PayPalBasicOperationsProvider
- class \Drupal\payment\Plugin\Payment\Method\BasicOperationsProvider
Expanded class hierarchy of PayPalBasicOperationsProvider
File
- src/
Plugin/ Payment/ Method/ PayPalBasicOperationsProvider.php, line 10
Namespace
Drupal\paypal_payment\Plugin\Payment\MethodView source
abstract class PayPalBasicOperationsProvider extends BasicOperationsProvider {
/**
* {@inheritdoc}
*/
protected function getPaymentMethodConfiguration($plugin_id) {
$entity_id = explode(':', $plugin_id)[1];
return $this->paymentMethodConfigurationStorage
->load($entity_id);
}
}