You are here

public function RngSettingsForm::__construct in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Form/RngSettingsForm.php \Drupal\rng\Form\RngSettingsForm::__construct()
  2. 3.x src/Form/RngSettingsForm.php \Drupal\rng\Form\RngSettingsForm::__construct()

Constructs a RegistrantSettingsForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

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

\Drupal\courier\Service\IdentityChannelManagerInterface $identity_channel_manager: The identity channel manager.

Overrides ConfigFormBase::__construct

File

src/Form/RngSettingsForm.php, line 41

Class

RngSettingsForm
Configure primary RNG settings.

Namespace

Drupal\rng\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, IdentityChannelManagerInterface $identity_channel_manager) {
  parent::__construct($config_factory);
  $this->entityTypeManager = $entity_type_manager;
  $this->identityChannelManager = $identity_channel_manager;
}