You are here

public function PardotScoreFormBase::__construct in Pardot Integration 8

Construct the PardotScoreFormBase.

Parameters

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

File

src/Form/PardotScoreFormBase.php, line 38

Class

PardotScoreFormBase
Class PardotScoreFormBase.

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');
}