You are here

public static function SalesforceOAuthPlugin::defaultConfiguration in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x modules/salesforce_oauth/src/Plugin/SalesforceAuthProvider/SalesforceOAuthPlugin.php \Drupal\salesforce_oauth\Plugin\SalesforceAuthProvider\SalesforceOAuthPlugin::defaultConfiguration()

Default configuration for this plugin type.

Return value

array Default configuration.

Overrides SalesforceAuthProviderPluginBase::defaultConfiguration

File

modules/salesforce_oauth/src/Plugin/SalesforceAuthProvider/SalesforceOAuthPlugin.php, line 31

Class

SalesforceOAuthPlugin
Salesforce OAuth user-agent flow auth provider plugin.

Namespace

Drupal\salesforce_oauth\Plugin\SalesforceAuthProvider

Code

public static function defaultConfiguration() {
  $defaults = parent::defaultConfiguration();
  return array_merge($defaults, [
    'consumer_secret' => '',
  ]);
}