You are here

public function SettingsForm::__construct in Entity Share Cron 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Form/SettingsForm.php \Drupal\entity_share_cron\Form\SettingsForm::__construct()
  2. 8 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\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

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

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 44

Class

SettingsForm
Module settings form.

Namespace

Drupal\entity_share_cron\Form

Code

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