public function FacebookAuthSettings::getGraphVersion in Social Auth Facebook 8
Same name and namespace in other branches
- 8.2 src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getGraphVersion()
- 3.x src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getGraphVersion()
Gets the graph version.
Return value
string The version.
Overrides FacebookAuthSettingsInterface::getGraphVersion
File
- src/Settings/ FacebookAuthSettings.php, line 63 
Class
- FacebookAuthSettings
- Defines methods to get Social Auth Facebook app settings.
Namespace
Drupal\social_auth_facebook\SettingsCode
public function getGraphVersion() {
  if (!$this->graphVersion) {
    $this->graphVersion = $this->config
      ->get('graph_version');
  }
  return $this->graphVersion;
}