You are here

public function AdminSettingsForm::__construct in Acquia Lift Connector 8.3

Same name and namespace in other branches
  1. 8.4 src/Form/AdminSettingsForm.php \Drupal\acquia_lift\Form\AdminSettingsForm::__construct()
  2. 8 src/Form/AdminSettingsForm.php \Drupal\acquia_lift\Form\AdminSettingsForm::__construct()

Constructs an AdminSettingsForm object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

\Drupal\Core\Messenger\MessengerInterface|null $messenger: The messenger service (or null).

Overrides ConfigFormBase::__construct

File

src/Form/AdminSettingsForm.php, line 58

Class

AdminSettingsForm
Defines a form that configures settings.

Namespace

Drupal\acquia_lift\Form

Code

public function __construct(EntityManagerInterface $entity_manager, $messenger) {
  $this->entityManager = $entity_manager;
  $this->messenger = $messenger;
}