You are here

public function OptOut::__construct in Mass Contact 8

OptOut constructor.

Parameters

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

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.

File

src/OptOut.php, line 36

Class

OptOut
The user opt out service.

Namespace

Drupal\mass_contact

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager) {
  $this->configFactory = $config_factory;
  $this->entityManager = $entity_type_manager;
}