You are here

public function LockrAdvancedForm::__construct in Lockr 8.3

Same name and namespace in other branches
  1. 8.4 src/Form/LockrAdvancedForm.php \Drupal\lockr\Form\LockrAdvancedForm::__construct()
  2. 8.2 src/Form/LockrAdvancedForm.php \Drupal\lockr\Form\LockrAdvancedForm::__construct()
  3. 4.x 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\Form

Code

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