public function TwitterAuthSettings::getConsumerSecret in Open Social 8.8
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getConsumerSecret()
- 8 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getConsumerSecret()
- 8.2 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getConsumerSecret()
- 8.3 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getConsumerSecret()
- 8.4 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getConsumerSecret()
- 8.5 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getConsumerSecret()
- 8.6 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getConsumerSecret()
- 8.7 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getConsumerSecret()
Gets the consumer secret.
Return value
string The consumer secret.
Overrides TwitterAuthSettingsInterface::getConsumerSecret
File
- modules/
custom/ social_auth_twitter/ src/ Settings/ TwitterAuthSettings.php, line 40
Class
- TwitterAuthSettings
- Returns the client information.
Namespace
Drupal\social_auth_twitter\SettingsCode
public function getConsumerSecret() {
if (!$this->consumerSecret) {
$this->consumerSecret = $this->config
->get('consumer_secret');
}
return $this->consumerSecret;
}