FileSystemForm::__construct

public FileSystemForm::__construct(ConfigFactoryInterface $config_factory, DateFormatterInterface $date_formatter, StreamWrapperManagerInterface $stream_wrapper_manager)

Constructs a FileSystemForm object.

Parameters

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

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

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

Overrides ConfigFormBase::__construct

File

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

Class

FileSystemForm
Configure file system settings for this site.

Namespace

Drupal\system\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, DateFormatterInterface $date_formatter, StreamWrapperManagerInterface $stream_wrapper_manager) {
  parent::__construct($config_factory);
  $this->dateFormatter = $date_formatter;
  $this->streamWrapperManager = $stream_wrapper_manager;
}
doc_Drupal
2016-10-29 09:13:54
Comments
Leave a Comment

Please login to continue.