You are here

public function AdminSettingsForm::__construct in Acquia Lift Connector 8.4

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

Constructs an AdminSettingsForm object.

Parameters

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity manager.

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

Overrides ConfigFormBase::__construct

File

src/Form/AdminSettingsForm.php, line 56

Class

AdminSettingsForm
Defines a form that configures settings.

Namespace

Drupal\acquia_lift\Form

Code

public function __construct(EntityFieldManagerInterface $entity_field_manager, $messenger) {
  $this->entityFieldManager = $entity_field_manager;
  $this->messenger = $messenger;
}