You are here

public function SimpleFbConnectPostLoginManager::savePostLoginPath in Simple FB Connect 8.3

Saves given path to session.

Parameters

string $post_login_path: Path to save to session.

File

src/SimpleFbConnectPostLoginManager.php, line 61

Class

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

Namespace

Drupal\simple_fb_connect

Code

public function savePostLoginPath($post_login_path) {
  if (!is_null($post_login_path)) {
    $this->persistentDataHandler
      ->set('post_login_path', $post_login_path);
  }
}