You are here

public static function LinkedinAuth::create in Social Auth LinkedIn 8

File

src/Plugin/Network/LinkedinAuth.php, line 39

Class

LinkedinAuth
Defines Social Auth Linkedin Network Plugin.

Namespace

Drupal\social_auth_linkedin\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'));
}