You are here

public function PayPalBasic::isLogging in PayPal for Payment 2.0.x

Same name and namespace in other branches
  1. 8 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

File

src/Plugin/Payment/MethodConfiguration/PayPalBasic.php, line 31

Class

PayPalBasic
Abstract class for PayPal payment method configurations.

Namespace

Drupal\paypal_payment\Plugin\Payment\MethodConfiguration

Code

public function isLogging($type) : bool {
  return !empty($this->configuration['logging'][$type]);
}