You are here

protected function SimpleFbConnectPostLoginManager::getPostLoginPathSetting in Simple FB Connect 8.3

Same name and namespace in other branches
  1. 8.2 src/SimpleFbConnectPostLoginManager.php \Drupal\simple_fb_connect\SimpleFbConnectPostLoginManager::getPostLoginPathSetting()

Returns the post login path defined in module settings.

Return value

string Path defined in module settings.

1 call to SimpleFbConnectPostLoginManager::getPostLoginPathSetting()
SimpleFbConnectPostLoginManager::getPostLoginPath in src/SimpleFbConnectPostLoginManager.php
Returns the path the user should be redirected after a successful login.

File

src/SimpleFbConnectPostLoginManager.php, line 133

Class

SimpleFbConnectPostLoginManager
Contains all logic that is related to post login redirects.

Namespace

Drupal\simple_fb_connect

Code

protected function getPostLoginPathSetting() {
  return $this->configFactory
    ->get('simple_fb_connect.settings')
    ->get('post_login_path');
}