public function FileTestSaveUploadFromForm::getFormId in Drupal 10
Same name and namespace in other branches
- 8 core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php \Drupal\file_test\Form\FileTestSaveUploadFromForm::getFormId()
- 9 core/modules/file/tests/file_test/src/Form/FileTestSaveUploadFromForm.php \Drupal\file_test\Form\FileTestSaveUploadFromForm::getFormId()
Returns a unique string identifying the form.
The returned ID should be a unique string that can be a valid PHP function name, since it's used in hook implementation names such as hook_form_FORM_ID_alter().
Return value
string The unique string identifying the form.
Overrides FormInterface::getFormId
File
- core/
modules/ file/ tests/ file_test/ src/ Form/ FileTestSaveUploadFromForm.php, line 57
Class
- FileTestSaveUploadFromForm
- File test form class.
Namespace
Drupal\file_test\FormCode
public function getFormId() {
return '_file_test_save_upload_from_form';
}