public function PayPalBasic::getDerivativeConfiguration in PayPal for Payment 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Payment/MethodConfiguration/PayPalBasic.php \Drupal\paypal_payment\Plugin\Payment\MethodConfiguration\PayPalBasic::getDerivativeConfiguration()
Return value
array
2 calls to PayPalBasic::getDerivativeConfiguration()
- PayPalExpress::getDerivativeConfiguration in src/
Plugin/ Payment/ MethodConfiguration/ PayPalExpress.php - PayPalStandard::getDerivativeConfiguration in src/
Plugin/ Payment/ MethodConfiguration/ PayPalStandard.php - @inheritDoc
2 methods override PayPalBasic::getDerivativeConfiguration()
- PayPalExpress::getDerivativeConfiguration in src/
Plugin/ Payment/ MethodConfiguration/ PayPalExpress.php - PayPalStandard::getDerivativeConfiguration in src/
Plugin/ Payment/ MethodConfiguration/ PayPalStandard.php - @inheritDoc
File
- src/
Plugin/ Payment/ MethodConfiguration/ PayPalBasic.php, line 117
Class
- PayPalBasic
- Abstract class for PayPal payment method configurations.
Namespace
Drupal\paypal_payment\Plugin\Payment\MethodConfigurationCode
public function getDerivativeConfiguration() : array {
return [
'production' => $this
->isProduction(),
'loglevel' => $this
->getLogLevel(),
'logging' => [
PayPalBasicMethod::PAYPAL_CONTEXT_TYPE_ADMIN => $this
->isLogging(PayPalBasicMethod::PAYPAL_CONTEXT_TYPE_ADMIN),
PayPalBasicMethod::PAYPAL_CONTEXT_TYPE_CREATE => $this
->isLogging(PayPalBasicMethod::PAYPAL_CONTEXT_TYPE_CREATE),
PayPalBasicMethod::PAYPAL_CONTEXT_TYPE_WEBHOOK => $this
->isLogging(PayPalBasicMethod::PAYPAL_CONTEXT_TYPE_WEBHOOK),
PayPalBasicMethod::PAYPAL_CONTEXT_TYPE_REDIRECT => $this
->isLogging(PayPalBasicMethod::PAYPAL_CONTEXT_TYPE_REDIRECT),
],
];
}