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