You are here

public function SalesforceAuthSettings::__construct in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x src/Form/SalesforceAuthSettings.php \Drupal\salesforce\Form\SalesforceAuthSettings::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config.

\Drupal\salesforce\SalesforceAuthProviderPluginManagerInterface $salesforceAuth: Authman.

\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher: Events.

Overrides ConfigFormBase::__construct

File

src/Form/SalesforceAuthSettings.php, line 43

Class

SalesforceAuthSettings
Class SalesforceAuthSettings.

Namespace

Drupal\salesforce\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, SalesforceAuthProviderPluginManagerInterface $salesforceAuth, EventDispatcherInterface $eventDispatcher) {
  parent::__construct($config_factory);
  $this->salesforceAuth = $salesforceAuth;
  $this->eventDispatcher = $eventDispatcher;
}