You are here

protected function SimpleFbConnectFbFactory::getAppSecret in Simple FB Connect 8.3

Returns app_secret from module settings.

Return value

string Application secret defined in module settings.

2 calls to SimpleFbConnectFbFactory::getAppSecret()
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 112

Class

SimpleFbConnectFbFactory
Class SimpleFbConnectFbFactory.

Namespace

Drupal\simple_fb_connect

Code

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