You are here

public static function SalesforceAuthProviderPluginBase::defaultConfiguration in Salesforce Suite 8.3

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

Default configuration for this plugin type.

Return value

array Default configuration.

Overrides SalesforceAuthProviderInterface::defaultConfiguration

2 calls to SalesforceAuthProviderPluginBase::defaultConfiguration()
SalesforceAuthProviderPluginBase::create in src/SalesforceAuthProviderPluginBase.php
Creates an instance of the plugin.
SalesforceOAuthPlugin::defaultConfiguration in src/Plugin/SalesforceAuthProvider/SalesforceOAuthPlugin.php
Default configuration for this plugin type.
1 method overrides SalesforceAuthProviderPluginBase::defaultConfiguration()
SalesforceOAuthPlugin::defaultConfiguration in src/Plugin/SalesforceAuthProvider/SalesforceOAuthPlugin.php
Default configuration for this plugin type.

File

src/SalesforceAuthProviderPluginBase.php, line 104

Class

SalesforceAuthProviderPluginBase
Shared methods for auth providers.

Namespace

Drupal\salesforce

Code

public static function defaultConfiguration() {
  return [
    'consumer_key' => '',
    'login_url' => 'https://test.salesforce.com',
  ];
}