You are here

public function FacebookAuthSettings::getAppId in Open Social 8.2

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::getAppId()
  2. 8 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppId()
  3. 8.3 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppId()
  4. 8.4 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppId()
  5. 8.5 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppId()
  6. 8.6 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppId()
  7. 8.7 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppId()
  8. 8.8 modules/custom/social_auth_facebook/src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppId()

Gets the app ID.

Return value

string The app ID.

Overrides FacebookAuthSettingsInterface::getAppId

File

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

Class

FacebookAuthSettings
Defines methods to get Social Auth Facebook app settings.

Namespace

Drupal\social_auth_facebook\Settings

Code

public function getAppId() {
  if (!$this->appId) {
    $this->appId = $this->config
      ->get('app_id');
  }
  return $this->appId;
}