You are here

public function PayPalStandard::getDerivativeConfiguration in PayPal for Payment 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/Payment/MethodConfiguration/PayPalStandard.php \Drupal\paypal_payment\Plugin\Payment\MethodConfiguration\PayPalStandard::getDerivativeConfiguration()

@inheritDoc

Overrides PayPalBasic::getDerivativeConfiguration

File

src/Plugin/Payment/MethodConfiguration/PayPalStandard.php, line 62

Class

PayPalStandard
Provides the configuration for the PayPal Standard payment method plugin.

Namespace

Drupal\paypal_payment\Plugin\Payment\MethodConfiguration

Code

public function getDerivativeConfiguration() : array {
  return parent::getDerivativeConfiguration() + [
    'email' => $this
      ->getEmail(),
  ];
}