You are here

protected function SimpleFbConnectFbFactory::getAppId in Simple FB Connect 8.3

Returns app_id from module settings.

Return value

string Application ID defined in module settings.

2 calls to SimpleFbConnectFbFactory::getAppId()
SimpleFbConnectFbFactory::getFbService in src/SimpleFbConnectFbFactory.php
Returns an instance of Facebook\Facebook service.
SimpleFbConnectFbFactory::validateConfig in src/SimpleFbConnectFbFactory.php
Checks that module is configured.

File

src/SimpleFbConnectFbFactory.php, line 99

Class

SimpleFbConnectFbFactory
Class SimpleFbConnectFbFactory.

Namespace

Drupal\simple_fb_connect

Code

protected function getAppId() {
  $app_id = $this->configFactory
    ->get('simple_fb_connect.settings')
    ->get('app_id');
  return $app_id;
}