You are here

public function SettingsForm::__construct in CiviCRM Cron 8

SettingsForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config factory service.

\Drupal\civicrm\Civicrm $civicrm: CiviCRM service.

\Drupal\civicrm_cron\CronRunner $cronRunner: The cron runner service.

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 41

Class

SettingsForm
Class SettingsForm.

Namespace

Drupal\civicrm_cron\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, Civicrm $civicrm, CronRunner $cronRunner) {
  parent::__construct($config_factory);
  $this->civicrm = $civicrm;
  $this->cronRunner = $cronRunner;
}