You are here

public function SettingsForm::__construct in S3 File System 8.3

Same name and namespace in other branches
  1. 4.0.x 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\Form

Code

public function __construct(ConfigFactoryInterface $configFactory, S3fsServiceInterface $s3fs, ModuleHandlerInterface $module_Handler) {
  parent::__construct($configFactory);
  $this->s3fs = $s3fs;
  $this->moduleHandler = $module_Handler;
}