You are here

public function PayPalStandard::getEmail 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::getEmail()

Gets the email of this configuration.

Return value

string

2 calls to PayPalStandard::getEmail()
PayPalStandard::getDerivativeConfiguration in src/Plugin/Payment/MethodConfiguration/PayPalStandard.php
@inheritDoc
PayPalStandard::processBuildConfigurationForm in src/Plugin/Payment/MethodConfiguration/PayPalStandard.php
Implements a form API #process callback.

File

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

Class

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

Namespace

Drupal\paypal_payment\Plugin\Payment\MethodConfiguration

Code

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