You are here

public function EncryptedRestClientInterface::getEncryptionProfile in Salesforce Suite 8.3

Returns the EncryptionProfileInterface assigned to Salesforce Encrypt.

Return value

\Drupal\encrypt\EncryptionProfileInterface|null The assigned profile, or null if none has been assigned.

Throws

\Drupal\salesforce\EntityNotFoundException If a profile is assigned, but cannot be loaded.

1 method overrides EncryptedRestClientInterface::getEncryptionProfile()
RestClient::getEncryptionProfile in modules/salesforce_encrypt/src/Rest/RestClient.php
Returns the EncryptionProfileInterface assigned to Salesforce Encrypt.

File

modules/salesforce_encrypt/src/Rest/EncryptedRestClientInterface.php, line 49

Class

EncryptedRestClientInterface
Objects, properties, and methods to communicate with the Salesforce REST API.

Namespace

Drupal\salesforce_encrypt\Rest

Code

public function getEncryptionProfile();