You are here

public function SalesforceAuthConfig::getProviderSettings in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 src/Entity/SalesforceAuthConfig.php \Drupal\salesforce\Entity\SalesforceAuthConfig::getProviderSettings()

Wrapper for provider settings to inject instance id, from auth config.

Return value

array Provider settings.

2 calls to SalesforceAuthConfig::getProviderSettings()
SalesforceAuthConfig::getPlugin in src/Entity/SalesforceAuthConfig.php
Plugin getter.
SalesforceAuthConfig::getPluginCollections in src/Entity/SalesforceAuthConfig.php
Gets the plugin collections used by this object.

File

src/Entity/SalesforceAuthConfig.php, line 125

Class

SalesforceAuthConfig
Defines a Salesforce Auth entity.

Namespace

Drupal\salesforce\Entity

Code

public function getProviderSettings() {
  return $this->provider_settings + [
    'id' => $this
      ->id(),
  ];
}