public function SocialEventInviteConfigOverride::__construct in Open Social 10.2.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_event/modules/social_event_invite/src/SocialEventInviteConfigOverride.php \Drupal\social_event_invite\SocialEventInviteConfigOverride::__construct()
- 10.1.x modules/social_features/social_event/modules/social_event_invite/src/SocialEventInviteConfigOverride.php \Drupal\social_event_invite\SocialEventInviteConfigOverride::__construct()
Constructs the configuration override.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.
\Drupal\Component\Utility\EmailValidatorInterface $email_validator: The email validator.
\Drupal\Core\Database\Connection $database: The current active database's master connection.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The Drupal configuration factory.
File
- modules/
social_features/ social_event/ modules/ social_event_invite/ src/ SocialEventInviteConfigOverride.php, line 60
Class
- SocialEventInviteConfigOverride
- Provides an overridden elements.
Namespace
Drupal\social_event_inviteCode
public function __construct(RequestStack $request_stack, EmailValidatorInterface $email_validator, Connection $database, ConfigFactoryInterface $config_factory) {
$this->requestStack = $request_stack;
$this->emailValidator = $email_validator;
$this->database = $database;
$this->configFactory = $config_factory;
}