You are here

public function SalesforceAuthProviderPluginBase::getConfiguration in Salesforce Suite 8.3

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

File

src/SalesforceAuthProviderPluginBase.php, line 142

Class

SalesforceAuthProviderPluginBase
Shared methods for auth providers.

Namespace

Drupal\salesforce

Code

public function getConfiguration($key = NULL) {
  if ($key !== NULL) {
    return !empty($this->configuration[$key]) ? $this->configuration[$key] : NULL;
  }
  return $this->configuration;
}