You are here

public function LockrMigrateForm::__construct in Lockr 8.4

Same name and namespace in other branches
  1. 8.2 src/Form/LockrMigrateForm.php \Drupal\lockr\Form\LockrMigrateForm::__construct()
  2. 8.3 src/Form/LockrMigrateForm.php \Drupal\lockr\Form\LockrMigrateForm::__construct()
  3. 4.x src/Form/LockrMigrateForm.php \Drupal\lockr\Form\LockrMigrateForm::__construct()

Constructs a new LockrMigrateForm.

Parameters

ConfigFactoryInterface $config_factory: The simple config factory.

Lockr $lockr: The Lockr library client.

TranslationInterface $translation: The Drupal translator.

File

src/Form/LockrMigrateForm.php, line 52

Class

LockrMigrateForm
Form handler for Lockr move to production.

Namespace

Drupal\lockr\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, Lockr $lockr, TranslationInterface $translation) {
  $this->configFactory = $config_factory;
  $this->lockr = $lockr;
  $this
    ->setStringTranslation($translation);
}