You are here

public function SettingsForm::__construct in Salesforce Suite 8.3

Same name in this branch
  1. 8.3 src/Form/SettingsForm.php \Drupal\salesforce\Form\SettingsForm::__construct()
  2. 8.3 modules/salesforce_encrypt/src/Form/SettingsForm.php \Drupal\salesforce_encrypt\Form\SettingsForm::__construct()

SettingsForm constructor.

Parameters

\Drupal\Core\State\StateInterface $state: State service.

\Drupal\encrypt\EncryptionProfileManagerInterface $encryptionProfileManager: Encryption profile manager service.

\Drupal\salesforce_encrypt\Rest\EncryptedRestClientInterface $client: Rest client service.

File

modules/salesforce_encrypt/src/Form/SettingsForm.php, line 36

Class

SettingsForm
Base form for key add and edit forms.

Namespace

Drupal\salesforce_encrypt\Form

Code

public function __construct(StateInterface $state, EncryptionProfileManagerInterface $encryptionProfileManager, EncryptedRestClientInterface $client) {
  $this->encryptionProfileManager = $encryptionProfileManager;
  $this->state = $state;
  $this->client = $client;
}