You are here

public function PardotCampaignFormBase::__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/PardotCampaignFormBase.php, line 38

Class

PardotCampaignFormBase
Class PardotCampaignFormBase.

Namespace

Drupal\pardot\Form

Code

public function __construct(QueryFactory $query_factory, ExecutableManagerInterface $plugin_factory) {
  $this->query_factory = $query_factory;
  $this->path_condition = $plugin_factory
    ->createInstance('request_path');
}