public function FacebookAuthSettingsForm::__construct in Social Auth Facebook 3.x
Same name and namespace in other branches
- 8.2 src/Form/FacebookAuthSettingsForm.php \Drupal\social_auth_facebook\Form\FacebookAuthSettingsForm::__construct()
- 8 src/Form/FacebookAuthSettingsForm.php \Drupal\social_auth_facebook\Form\FacebookAuthSettingsForm::__construct()
Constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
\Drupal\Core\Routing\RouteProviderInterface $route_provider: Used to check if route exists.
\Drupal\Core\Path\PathValidatorInterface $path_validator: Used to check if path is valid and exists.
\Drupal\Core\Routing\RequestContext $request_context: Holds information about the current request.
Overrides SocialAuthSettingsForm::__construct
File
- src/
Form/ FacebookAuthSettingsForm.php, line 38
Class
- FacebookAuthSettingsForm
- Settings form for Social Auth Facebook.
Namespace
Drupal\social_auth_facebook\FormCode
public function __construct(ConfigFactoryInterface $config_factory, RouteProviderInterface $route_provider, PathValidatorInterface $path_validator, RequestContext $request_context) {
parent::__construct($config_factory, $route_provider, $path_validator);
$this->requestContext = $request_context;
}