You are here

public function SimplePopupBlocksAddForm::__construct in Simple Popup Blocks 8.2

Same name and namespace in other branches
  1. 8 src/Form/SimplePopupBlocksAddForm.php \Drupal\simple_popup_blocks\Form\SimplePopupBlocksAddForm::__construct()

SimplePopupBlocksAddForm constructor.

Parameters

EntityTypeManager $typeManager:

Messenger $messenger:

Connection $database:

Overrides ConfigFormBase::__construct

File

src/Form/SimplePopupBlocksAddForm.php, line 51

Class

SimplePopupBlocksAddForm
Form to add a popup entry.

Namespace

Drupal\simple_popup_blocks\Form

Code

public function __construct(EntityTypeManager $typeManager, Messenger $messenger, Connection $database) {
  $this->typeManager = $typeManager;
  $this->messenger = $messenger;
  $this->database = $database;
}