protected function StripeGateway::trimKey in Ubercart Stripe 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/Ubercart/PaymentMethod/StripeGateway.php \Drupal\uc_stripe\Plugin\Ubercart\PaymentMethod\StripeGateway::trimKey()
1 call to StripeGateway::trimKey()
- StripeGateway::validateConfigurationForm in src/
Plugin/ Ubercart/ PaymentMethod/ StripeGateway.php - Form validation handler.
File
- src/
Plugin/ Ubercart/ PaymentMethod/ StripeGateway.php, line 94
Class
- StripeGateway
- Stripe Ubercart gateway payment method.
Namespace
Drupal\uc_stripe\Plugin\Ubercart\PaymentMethodCode
protected function trimKey($key) {
$key = trim($key);
$key = \Drupal\Component\Utility\Html::escape($key);
return $key;
}