WebformDocumentFile.php in Webform 6.x
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\webform\Plugin\WebformElementFile
src/Plugin/WebformElement/WebformDocumentFile.phpView source
<?php
namespace Drupal\webform\Plugin\WebformElement;
/**
* Provides a 'webform_document_file' element.
*
* @WebformElement(
* id = "webform_document_file",
* label = @Translation("Document file"),
* description = @Translation("Provides a form element for uploading and saving a document."),
* category = @Translation("File upload elements"),
* states_wrapper = TRUE,
* dependencies = {
* "file",
* }
* )
*/
class WebformDocumentFile extends WebformManagedFileBase {
}
Classes
Name | Description |
---|---|
WebformDocumentFile | Provides a 'webform_document_file' element. |