public function Settings::__construct in Courier 8
Same name in this branch
- 8 src/Form/Settings.php \Drupal\courier\Form\Settings::__construct()
- 8 courier_system/src/Form/Settings.php \Drupal\courier_system\Form\Settings::__construct()
Same name and namespace in other branches
- 2.x src/Form/Settings.php \Drupal\courier\Form\Settings::__construct()
Constructs a \Drupal\system\ConfigFormBase 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/ Settings.php, line 48
Class
- Settings
- Configure Courier settings.
Namespace
Drupal\courier\FormCode
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;
}