public function SocialEventEnrollService::__construct in Open Social 10.3.x
Same name and namespace in other branches
- 10.2.x modules/social_features/social_event/src/Service/SocialEventEnrollService.php \Drupal\social_event\Service\SocialEventEnrollService::__construct()
SocialEventEnrollService constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
File
- modules/
social_features/ social_event/ src/ Service/ SocialEventEnrollService.php, line 29
Class
- SocialEventEnrollService
- Class SocialEventEnrollService.
Namespace
Drupal\social_event\ServiceCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->eventSettings = $config_factory
->get('social_event.settings');
}