You are here

public function PayPalExpress::getApiContext in PayPal for Payment 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Payment/Method/PayPalExpress.php \Drupal\paypal_payment\Plugin\Payment\Method\PayPalExpress::getApiContext()

{}

Overrides PayPalBasic::getApiContext

File

src/Plugin/Payment/Method/PayPalExpress.php, line 43

Class

PayPalExpress
PayPal Express payment method.

Namespace

Drupal\paypal_payment\Plugin\Payment\Method

Code

public function getApiContext($type) : ApiContext {
  return self::apiContext($this
    ->getPluginDefinition(), $type);
}