You are here

public static function GoogleAuth::create in Social Auth Google 8

File

src/Plugin/Network/GoogleAuth.php, line 38

Class

GoogleAuth
Defines Social Auth Google Network Plugin.

Namespace

Drupal\social_auth_google\Plugin\Network

Code

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