public function PayPalBasic::isLogging 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::isLogging()
Gets the setting for logging the PayPal API traffic.
Parameters
$type:
Return value
bool
2 calls to PayPalBasic::isLogging()
- 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 31
Class
- PayPalBasic
- Abstract class for PayPal payment method configurations.
Namespace
Drupal\paypal_payment\Plugin\Payment\MethodConfigurationCode
public function isLogging($type) : bool {
return !empty($this->configuration['logging'][$type]);
}