You are here

protected function SimpleFbConnectFbManager::getAppSecret in Simple FB Connect 8.2

Returns app_secret from module settings.

Return value

string Application secret defined in module settings.

2 calls to SimpleFbConnectFbManager::getAppSecret()
SimpleFbConnectFbManager::initializeApp in src/SimpleFbConnectFbManager.php
Initalizes Facebook App to Facebook SDK library.
SimpleFbConnectFbManager::validateConfig in src/SimpleFbConnectFbManager.php
Checks that module is configured.

File

src/SimpleFbConnectFbManager.php, line 317
Contains \Drupal\simple_fb_connect\SimpleFbConnectFbManager.

Class

SimpleFbConnectFbManager
Contains all Simple FB Connect logic that is related to Facebook interaction.

Namespace

Drupal\simple_fb_connect

Code

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