You are here

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_paypal

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
}