You are here

public function MailchimpEcommerceCommerceAdminSettings::__construct in Mailchimp E-Commerce 8

MailchimpEcommerceAdminSettings constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The Config Factory Interface.

mixed $store_context: The Store Context Interface.

\Drupal\mailchimp_ecommerce\StoreHandlerInterface $store_handler: The Store Handler Interface.

Overrides MailchimpEcommerceAdminSettings::__construct

File

modules/mailchimp_ecommerce_commerce/src/Form/MailchimpEcommerceCommerceAdminSettings.php, line 38

Class

MailchimpEcommerceCommerceAdminSettings

Namespace

Drupal\mailchimp_ecommerce_commerce\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, CurrentStoreInterface $store_context, StoreHandlerInterface $store_handler) {
  parent::__construct($config_factory, $store_handler);
  $this->store_context = $store_context;
  $this->store_handler = $store_handler;
}