public function Oauth2ClientPluginBase::defaultConfiguration in OAuth2 Client 8.3
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurableInterface::defaultConfiguration
1 call to Oauth2ClientPluginBase::defaultConfiguration()
- Oauth2ClientPluginBase::loadConfiguration in src/
Plugin/ Oauth2Client/ Oauth2ClientPluginBase.php - Helper function to initialize the internal configuration array.
File
- src/
Plugin/ Oauth2Client/ Oauth2ClientPluginBase.php, line 127
Class
- Oauth2ClientPluginBase
- Base class for Oauth2Client plugins.
Namespace
Drupal\oauth2_client\Plugin\Oauth2ClientCode
public function defaultConfiguration() {
return [
'uuid' => $this->uuid
->generate(),
'credentials' => [],
];
}