You are here

public function PayPalStandard::getDerivativeConfiguration in PayPal for Payment 8

Same name and namespace in other branches
  1. 2.0.x 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(),
  ];
}