public function PayPalBasic::isProduction 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::isProduction()
Gets the setting for the production server.
Return value
bool
2 calls to PayPalBasic::isProduction()
- PayPalBasic::getDerivativeConfiguration in src/
Plugin/ Payment/ MethodConfiguration/ PayPalBasic.php - PayPalBasic::processBuildConfigurationForm in src/
Plugin/ Payment/ MethodConfiguration/ PayPalBasic.php - Implements a form API #process callback.
File
- src/
Plugin/ Payment/ MethodConfiguration/ PayPalBasic.php, line 20
Class
- PayPalBasic
- Abstract class for PayPal payment method configurations.
Namespace
Drupal\paypal_payment\Plugin\Payment\MethodConfigurationCode
public function isProduction() : bool {
return !empty($this->configuration['production']);
}