public function SmartPaymentButtonsBuilder::__construct in Commerce PayPal 8
Constructs a new SmartPaymentButtonsBuilder object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
File
- src/
SmartPaymentButtonsBuilder.php, line 30
Class
- SmartPaymentButtonsBuilder
- Provides a helper for building the Smart payment buttons.
Namespace
Drupal\commerce_paypalCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}