You are here

public static function FacebookAuth::create in Social Auth Facebook 8

File

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

Class

FacebookAuth
Defines a Network Plugin for Social Auth Facebook.

Namespace

Drupal\social_auth_facebook\Plugin\Network

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($container
    ->get('social_auth_facebook.persistent_data_handler'), $configuration, $plugin_id, $plugin_definition, $container
    ->get('entity_type.manager'), $container
    ->get('config.factory'), $container
    ->get('logger.factory'));
}