You are here

public function SkipForm::__construct in Notify 8

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

Class constructor.

Parameters

ConfigFactoryInterface $config_factory: The config factory.

MessengerInterface $messenger: The core messenger service.

Overrides ConfigFormBase::__construct

File

src/Form/SkipForm.php, line 32

Class

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