You are here

public function FacebookAuthSettings::getGraphVersion in Open Social 8.6

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

Gets the default graph version.

Return value

string The app default graph version.

Overrides FacebookAuthSettingsInterface::getGraphVersion

File

modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php, line 65

Class

FacebookAuthSettings
Defines methods to get Social Auth Facebook app settings.

Namespace

Drupal\social_auth_facebook\Settings

Code

public function getGraphVersion() {
  if (!$this->graphVersion) {
    $this->graphVersion = $this->config
      ->get('graph_version');
  }
  return $this->graphVersion;
}