public function FacebookAuthSettingsForm::__construct in Social Auth Facebook 8
Same name and namespace in other branches
- 8.2 src/Form/FacebookAuthSettingsForm.php \Drupal\social_auth_facebook\Form\FacebookAuthSettingsForm::__construct()
- 3.x 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.
File
- src/
Form/ FacebookAuthSettingsForm.php, line 37
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;
}