You are here

public function PopupAdminForm::__construct in Popup 8

Class constructor.

Parameters

ConfigFactoryInterface $config_factory: The config factory.

AccountProxyInterface $current_user: The current user.

MessengerInterface $messenger: The core messenger service.

Overrides ConfigFormBase::__construct

File

src/Form/PopupAdminForm.php, line 55
Contains \Drupal\popup\src\Form\PopupAdminForm.

Class

PopupAdminForm
Class PopupAdminForm.

Namespace

Drupal\popup\Form

Code

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