public function LockrAdvancedForm::__construct in Lockr 4.x
Same name and namespace in other branches
- 8.4 src/Form/LockrAdvancedForm.php \Drupal\lockr\Form\LockrAdvancedForm::__construct()
- 8.2 src/Form/LockrAdvancedForm.php \Drupal\lockr\Form\LockrAdvancedForm::__construct()
- 8.3 src/Form/LockrAdvancedForm.php \Drupal\lockr\Form\LockrAdvancedForm::__construct()
Constructs a new LockrAdvancedForm.
Parameters
ConfigFactoryInterface $config_factory: The simple config factory.
FileSystemInterface $file_system: The Drupal file system interface.
TranslationInterface $translation: The Drupal translator.
File
- src/
Form/ LockrAdvancedForm.php, line 46
Class
- LockrAdvancedForm
- Form handler for advanced Lockr settings.
Namespace
Drupal\lockr\FormCode
public function __construct(ConfigFactoryInterface $config_factory, FileSystemInterface $file_system, TranslationInterface $translation) {
$this->configFactory = $config_factory;
$this->fileSystem = $file_system;
$this
->setStringTranslation($translation);
}