You are here

public function QueueForm::__construct in Notify 8

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

Class constructor.

Parameters

ConfigFactoryInterface $config_factory: The config factory.

MessengerInterface $messenger: The core messenger service.

Overrides ConfigFormBase::__construct

File

src/Form/QueueForm.php, line 32

Class

QueueForm
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;
}