You are here

public function EloquaSettingsForm::__construct in Eloqua 8

Creates a new EloquaSettingsForm.

Parameters

ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Executable\ExecutableManagerInterface $manager: The ConditionManager for building the tracking scope UI.

\Drupal\Component\Plugin\Factory\FactoryInterface $plugin_factory: The condition plugin factory.

Overrides ConfigFormBase::__construct

File

src/Form/EloquaSettingsForm.php, line 55
Contains \Drupal\eloqua\Form\EloquaSettingsForm.

Class

EloquaSettingsForm
Configure Eloqua settings for this site.

Namespace

Drupal\Eloqua\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ExecutableManagerInterface $manager, FactoryInterface $plugin_factory) {
  parent::__construct($config_factory);
  $this->manager = $manager;
  $this->requestPath = $plugin_factory
    ->createInstance('request_path');
  $this->userRole = $plugin_factory
    ->createInstance('user_role');
}