function FileSystemForm::__construct

Same name and namespace in other branches
  1. 11.x core/modules/system/src/Form/FileSystemForm.php \Drupal\system\Form\FileSystemForm::__construct()
  2. 10 core/modules/system/src/Form/FileSystemForm.php \Drupal\system\Form\FileSystemForm::__construct()
  3. 9 core/modules/system/src/Form/FileSystemForm.php \Drupal\system\Form\FileSystemForm::__construct()
  4. 8.9.x core/modules/system/src/Form/FileSystemForm.php \Drupal\system\Form\FileSystemForm::__construct()

Constructs a FileSystemForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Config\TypedConfigManagerInterface $typedConfigManager: The typed config manager.

\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: The date formatter service.

\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $streamWrapperManager: The stream wrapper manager.

\Drupal\Core\File\FileSystemInterface $fileSystem: The file system.

Overrides ConfigFormBase::__construct

File

core/modules/system/src/Form/FileSystemForm.php, line 41

Class

FileSystemForm
Configure file system settings for this site.

Namespace

Drupal\system\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typedConfigManager, protected DateFormatterInterface $dateFormatter, protected StreamWrapperManagerInterface $streamWrapperManager, protected FileSystemInterface $fileSystem) {
  parent::__construct($config_factory, $typedConfigManager);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.