You are here

public function UserSettings::__construct in Notify 8

Same name and namespace in other branches
  1. 2.0.x src/Form/UserSettings.php \Drupal\notify\Form\UserSettings::__construct()
  2. 1.0.x src/Form/UserSettings.php \Drupal\notify\Form\UserSettings::__construct()

Class constructor.

Parameters

ConfigFactoryInterface $config_factory: The config factory.

MessengerInterface $messenger: The core messenger service.

Overrides ConfigFormBase::__construct

File

src/Form/UserSettings.php, line 36

Class

UserSettings
Defines a form that configures forms module settings.

Namespace

Drupal\notify\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, MessengerInterface $messenger) {
  parent::__construct($config_factory);
  $this->messenger = $messenger;
}