public function SettingsForm::__construct in File (Field) Paths 8
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SettingsForm.php, line 38
Class
- SettingsForm
- Administration settings form for File (Field) Paths.
Namespace
Drupal\filefield_paths\FormCode
public function __construct(ConfigFactoryInterface $config_factory, StreamWrapperManagerInterface $stream_wrapper_manager, FileSystemInterface $file_system) {
parent::__construct($config_factory);
$this->streamWrapperManager = $stream_wrapper_manager;
$this->fileSystem = $file_system;
}