You are here

protected function SalesforceAuthProviderPluginManager::config in Salesforce Suite 5.0.x

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

Wrapper for salesforce.settings config.

Return value

\Drupal\Core\Config\ImmutableConfig Salesforce settings config.

File

src/SalesforceAuthProviderPluginManager.php, line 199

Class

SalesforceAuthProviderPluginManager
Auth provider plugin manager.

Namespace

Drupal\salesforce

Code

protected function config() {
  if (!$this->config) {
    $this->config = \Drupal::config('salesforce.settings');
  }
  return $this->config;
}