You are here

public function FacebookAuth::__construct in Social Auth Facebook 8

FacebookAuth constructor.

Parameters

\Drupal\social_auth_facebook\FacebookAuthPersistentDataHandler $persistent_data_handler: The persistent data handler.

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

array $plugin_definition: The plugin implementation definition.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory object.

\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger factory.

File

src/Plugin/Network/FacebookAuth.php, line 81

Class

FacebookAuth
Defines a Network Plugin for Social Auth Facebook.

Namespace

Drupal\social_auth_facebook\Plugin\Network

Code

public function __construct(FacebookAuthPersistentDataHandler $persistent_data_handler, array $configuration, $plugin_id, array $plugin_definition, EntityTypeManagerInterface $entity_type_manager, ConfigFactoryInterface $config_factory, LoggerChannelFactoryInterface $logger_factory) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $config_factory);
  $this->persistentDataHandler = $persistent_data_handler;
  $this->loggerFactory = $logger_factory;
}