You are here

public static function TwitterAuthSettings::getSocialNetworkKey in Open Social 8.5

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getSocialNetworkKey()
  2. 8 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getSocialNetworkKey()
  3. 8.2 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getSocialNetworkKey()
  4. 8.3 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getSocialNetworkKey()
  5. 8.4 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getSocialNetworkKey()
  6. 8.6 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getSocialNetworkKey()
  7. 8.7 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getSocialNetworkKey()
  8. 8.8 modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php \Drupal\social_auth_twitter\Settings\TwitterAuthSettings::getSocialNetworkKey()

Returns key-name of a social network.

Return value

string The key-name of a social network.

Overrides TwitterAuthSettingsInterface::getSocialNetworkKey

2 calls to TwitterAuthSettings::getSocialNetworkKey()
TwitterAuthManager::getSocialNetworkKey in modules/custom/social_auth_twitter/src/TwitterAuthManager.php
Returns key-name of a social network.
TwitterUserManager::getSocialNetworkKey in modules/custom/social_auth_twitter/src/TwitterUserManager.php
Returns key-name of a social network.

File

modules/custom/social_auth_twitter/src/Settings/TwitterAuthSettings.php, line 58

Class

TwitterAuthSettings
Returns the client information.

Namespace

Drupal\social_auth_twitter\Settings

Code

public static function getSocialNetworkKey() {
  return 'twitter';
}