You are here

abstract class PayPalBasicOperationsProvider in PayPal for Payment 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/Payment/Method/PayPalBasicOperationsProvider.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalBasicOperationsProvider

Abstract class for PayPal payment method operation providers.

Hierarchy

  • class \Drupal\paypal_payment\Plugin\Payment\Method\PayPalBasicOperationsProvider extends \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\Method
View source
abstract class PayPalBasicOperationsProvider extends BasicOperationsProvider {

  /**
   * {@inheritdoc}
   */
  protected function getPaymentMethodConfiguration($plugin_id) {
    $entity_id = explode(':', $plugin_id)[1];
    return $this->paymentMethodConfigurationStorage
      ->load($entity_id);
  }

}

Members