function FileTestSaveUploadFromForm::create

Same name in other branches
  1. 9 core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php \Drupal\file_test\Form\FileTestSaveUploadFromForm::create()
  2. 10 core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php \Drupal\file_test\Form\FileTestSaveUploadFromForm::create()
  3. 11.x core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php \Drupal\file_test\Form\FileTestSaveUploadFromForm::create()

Overrides FormBase::create

File

core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php, line 47

Class

FileTestSaveUploadFromForm
File test form class.

Namespace

Drupal\file_test\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('state'), $container->get('messenger'));
}

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