You are here

public function SettingsForm::__construct in Entity Share Cron 8

Same name and namespace in other branches
  1. 8.2 src/Form/SettingsForm.php \Drupal\entity_share_cron\Form\SettingsForm::__construct()
  2. 3.0.x src/Form/SettingsForm.php \Drupal\entity_share_cron\Form\SettingsForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\entity_share_client\Service\RemoteManagerInterface $remote_manager: Remote manager service.

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 33

Class

SettingsForm
Module settings form.

Namespace

Drupal\entity_share_cron\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, RemoteManagerInterface $remote_manager) {
  parent::__construct($config_factory);
  $this->remoteManager = $remote_manager;
}