function FileExampleReadWriteForm::__construct

Constructs a new FileExampleReadWriteForm object.

Parameters

\Drupal\file_example\FileExampleStateHelper $stateHelper: The file example state helper.

\Drupal\file_example\FileExampleSubmitHandlerHelper $submitHandlerHelper: The file example submit handler helper.

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

See also

https://php.watch/versions/8.0/constructor-property-promotion

File

modules/file_example/src/Form/FileExampleReadWriteForm.php, line 31

Class

FileExampleReadWriteForm
File test form class.

Namespace

Drupal\file_example\Form

Code

public function __construct(FileExampleStateHelper $stateHelper, FileExampleSubmitHandlerHelper $submitHandlerHelper, FileSystemInterface $fileSystem) {
}