You are here

protected function SalesforceAuthProviderPluginManager::authStorage in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/SalesforceAuthProviderPluginManager.php \Drupal\salesforce\SalesforceAuthProviderPluginManager::authStorage()
  2. 5.0.x src/SalesforceAuthProviderPluginManager.php \Drupal\salesforce\SalesforceAuthProviderPluginManager::authStorage()

Wrapper for salesforce_auth storage service.

Return value

\Drupal\Core\Config\Entity\ConfigEntityStorageInterface Storage for salesforce_auth.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

File

src/SalesforceAuthProviderPluginManager.php, line 111

Class

SalesforceAuthProviderPluginManager
Auth provider plugin manager.

Namespace

Drupal\salesforce

Code

protected function authStorage() {
  if (empty($this->authStorage)) {
    $this->authStorage = $this->etm
      ->getStorage('salesforce_auth');
  }
  return $this->authStorage;
}