You are here

public function PayPalExpress::getClientId 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::getClientId()

Gets the client ID of this configuration.

Return value

string

2 calls to PayPalExpress::getClientId()
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 31

Class

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

Namespace

Drupal\paypal_payment\Plugin\Payment\MethodConfiguration

Code

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