public function EncryptedRestClientInterface::enableEncryption in Salesforce Suite 8.3
Encrypts all sensitive salesforce config values.
Parameters
\Drupal\encrypt\EncryptionProfileInterface $profile: Id of the Encrypt Profile to use for encryption.
Return value
bool TRUE if encryption was enabled or FALSE if it is already enabled
Throws
RuntimeException If Salesforce encryption profile hasn't been selected.
1 method overrides EncryptedRestClientInterface::enableEncryption()
- RestClient::enableEncryption in modules/
salesforce_encrypt/ src/ Rest/ RestClient.php - Encrypts all sensitive salesforce config values.
File
- modules/
salesforce_encrypt/ src/ Rest/ EncryptedRestClientInterface.php, line 25
Class
- EncryptedRestClientInterface
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce_encrypt\RestCode
public function enableEncryption(EncryptionProfileInterface $profile);