You are here

public function PardotContactFormMapFormBase::__construct in Pardot Integration 8

Construct the PardotCampaignFormBase.

Parameters

\Drupal\Core\Entity\Query\QueryFactory $query_factory: An entity query factory for the campaign entity type.

File

src/Form/PardotContactFormMapFormBase.php, line 48

Class

PardotContactFormMapFormBase
Class PardotContactFormMapFormBase.

Namespace

Drupal\pardot\Form

Code

public function __construct(QueryFactory $query_factory, EntityTypeManagerInterface $entityTypeManager, EntityFormBuilder $entityFormBuilder, EntityFieldManager $entityFieldManager) {
  $this->query_factory = $query_factory;
  $this->entityTypeManager = $entityTypeManager;
  $this->entityFormBuilder = $entityFormBuilder;
  $this->entityFieldManager = $entityFieldManager;
}