You are here

public function PayPalExpress::getClientSecret in PayPal for Payment 8

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

Gets the client secret of this configuration.

Return value

string

2 calls to PayPalExpress::getClientSecret()
PayPalExpress::getDerivativeConfiguration in src/Plugin/Payment/MethodConfiguration/PayPalExpress.php
PayPalExpress::processBuildConfigurationForm in src/Plugin/Payment/MethodConfiguration/PayPalExpress.php
Implements a form API #process callback.

File

src/Plugin/Payment/MethodConfiguration/PayPalExpress.php, line 40

Class

PayPalExpress
Provides the configuration for the PayPal Express payment method plugin.

Namespace

Drupal\paypal_payment\Plugin\Payment\MethodConfiguration

Code

public function getClientSecret() : string {
  return $this->configuration['clientSecret'] ?? '';
}