You are here

public function SimpleFbConnectPostLoginManager::getRedirectNewUsersToUserFormSetting in Simple FB Connect 8.3

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

Checks if new users should be redirected to Drupal user form.

Return value

bool True if new users should be redirected to user form. False otherwise.

File

src/SimpleFbConnectPostLoginManager.php, line 105

Class

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

Namespace

Drupal\simple_fb_connect

Code

public function getRedirectNewUsersToUserFormSetting() {
  return $this->configFactory
    ->get('simple_fb_connect.settings')
    ->get('redirect_user_form');
}