You are here

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

Same name and namespace in other branches
  1. 8.2 src/Form/FacebookAuthSettingsForm.php \Drupal\social_auth_facebook\Form\FacebookAuthSettingsForm::create()
  2. 3.x src/Form/FacebookAuthSettingsForm.php \Drupal\social_auth_facebook\Form\FacebookAuthSettingsForm::create()

File

src/Form/FacebookAuthSettingsForm.php, line 45

Class

FacebookAuthSettingsForm
Settings form for Social Auth Facebook.

Namespace

Drupal\social_auth_facebook\Form

Code

public static function create(ContainerInterface $container) {

  // Instantiates this class.
  return new static($container
    ->get('config.factory'), $container
    ->get('router.route_provider'), $container
    ->get('path.validator'), $container
    ->get('router.request_context'));
}