public function SimpleFbConnectPostLoginManager::__construct in Simple FB Connect 8.3
Same name and namespace in other branches
- 8.2 src/SimpleFbConnectPostLoginManager.php \Drupal\simple_fb_connect\SimpleFbConnectPostLoginManager::__construct()
Constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Used for accessing Drupal configuration.
\Drupal\Core\Routing\RequestContext $request_context: Used for reading the query string.
\Drupal\Core\Path\PathValidatorInterface $path_validator: Used for validating user provided paths.
SimpleFbConnectPersistentDataHandler $persistent_data_handler: Used for reading data from and writing data to session.
File
- src/
SimpleFbConnectPostLoginManager.php, line 31
Class
- SimpleFbConnectPostLoginManager
- Contains all logic that is related to post login redirects.
Namespace
Drupal\simple_fb_connectCode
public function __construct(ConfigFactoryInterface $config_factory, RequestContext $request_context, PathValidatorInterface $path_validator, SimpleFbConnectPersistentDataHandler $persistent_data_handler) {
$this->configFactory = $config_factory;
$this->requestContext = $request_context;
$this->pathValidator = $path_validator;
$this->persistentDataHandler = $persistent_data_handler;
}