public function SocialAuthSettingsForm::__construct in Social Auth 3.x
Same name and namespace in other branches
- 8.2 src/Form/SocialAuthSettingsForm.php \Drupal\social_auth\Form\SocialAuthSettingsForm::__construct()
- 8 src/Form/SocialAuthSettingsForm.php \Drupal\social_auth\Form\SocialAuthSettingsForm::__construct()
Constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
\Drupal\Core\Routing\RouteProviderInterface $route_provider: Used to check if route exists.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SocialAuthSettingsForm.php, line 31
Class
- SocialAuthSettingsForm
- Defines a form that configures Social Auth settings.
Namespace
Drupal\social_auth\FormCode
public function __construct(ConfigFactoryInterface $config_factory, RouteProviderInterface $route_provider) {
parent::__construct($config_factory);
$this->routeProvider = $route_provider;
}