You are here

public function SimpleFbConnectFbFactory::__construct in Simple FB Connect 8.3

Constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Used for accessing Drupal configuration.

\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: Used for logging errors.

\Drupal\simple_fb_connect\SimpleFbConnectPersistentDataHandler $persistent_data_handler: Used for reading data from and writing data to session.

File

src/SimpleFbConnectFbFactory.php, line 30

Class

SimpleFbConnectFbFactory
Class SimpleFbConnectFbFactory.

Namespace

Drupal\simple_fb_connect

Code

public function __construct(ConfigFactoryInterface $config_factory, LoggerChannelFactoryInterface $logger_factory, SimpleFbConnectPersistentDataHandler $persistent_data_handler) {
  $this->configFactory = $config_factory;
  $this->loggerFactory = $logger_factory;
  $this->persistentDataHandler = $persistent_data_handler;
}