You are here

public function FacebookAuthSettings::getAppId in Social Auth Facebook 8

Same name and namespace in other branches
  1. 8.2 src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppId()
  2. 3.x src/Settings/FacebookAuthSettings.php \Drupal\social_auth_facebook\Settings\FacebookAuthSettings::getAppId()

Gets the application ID.

Return value

mixed The application ID.

Overrides FacebookAuthSettingsInterface::getAppId

File

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;
}