function FileTestSaveUploadFromForm::__construct
Same name in other branches
- 9 core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php \Drupal\file_test\Form\FileTestSaveUploadFromForm::__construct()
- 8.9.x core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php \Drupal\file_test\Form\FileTestSaveUploadFromForm::__construct()
- 11.x core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php \Drupal\file_test\Form\FileTestSaveUploadFromForm::__construct()
Constructs a FileTestSaveUploadFromForm object.
Parameters
\Drupal\Core\State\StateInterface $state: The state key value store.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
File
-
core/
modules/ file/ tests/ file_test/ src/ Form/ FileTestSaveUploadFromForm.php, line 41
Class
- FileTestSaveUploadFromForm
- File test form class.
Namespace
Drupal\file_test\FormCode
public function __construct(StateInterface $state, MessengerInterface $messenger) {
$this->state = $state;
$this->messenger = $messenger;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.