You are here

public function Manager::__construct in Message Subscribe 8

Construct the message subscribe email manager.

Parameters

\Drupal\flag\FlagServiceInterface $flag_service: The flag service.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

File

message_subscribe_email/src/Manager.php, line 35

Class

Manager
Utility functions for the Message Subscribe Email module.

Namespace

Drupal\message_subscribe_email

Code

public function __construct(FlagServiceInterface $flag_service, ConfigFactoryInterface $config_factory) {
  $this->flagService = $flag_service;
  $this->config = $config_factory
    ->get('message_subscribe_email.settings');
}