public function SettingsForm::__construct in S3 File System 4.0.x
Same name and namespace in other branches
- 8.3 src/Form/SettingsForm.php \Drupal\s3fs\Form\SettingsForm::__construct()
Constructor for s3fs settings form.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The factory for configuration objects.
\Drupal\s3fs\S3fsServiceInterface $s3fs: The s3fs service.
\Drupal\Core\Extension\ModuleHandlerInterface $module_Handler: Module Handler Service.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SettingsForm.php, line 47
Class
- SettingsForm
- Defines a form that configures s3fs settings.
Namespace
Drupal\s3fs\FormCode
public function __construct(ConfigFactoryInterface $configFactory, S3fsServiceInterface $s3fs, ModuleHandlerInterface $module_Handler) {
parent::__construct($configFactory);
$this->s3fs = $s3fs;
$this->moduleHandler = $module_Handler;
}