public function LockrMigrateForm::__construct in Lockr 8.4
Same name and namespace in other branches
- 8.2 src/Form/LockrMigrateForm.php \Drupal\lockr\Form\LockrMigrateForm::__construct()
- 8.3 src/Form/LockrMigrateForm.php \Drupal\lockr\Form\LockrMigrateForm::__construct()
- 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\FormCode
public function __construct(ConfigFactoryInterface $config_factory, Lockr $lockr, TranslationInterface $translation) {
$this->configFactory = $config_factory;
$this->lockr = $lockr;
$this
->setStringTranslation($translation);
}