WebformTestCompositeFile.php in Webform 6.x
Same filename in this branch
Same filename and directory in other branches
File
tests/modules/webform_test_element/src/Plugin/WebformElement/WebformTestCompositeFile.phpView source
<?php
namespace Drupal\webform_test_element\Plugin\WebformElement;
use Drupal\webform\Plugin\WebformElement\WebformCompositeBase;
/**
* Provides a 'webform_test_composite_file' element.
*
* @WebformElement(
* id = "webform_test_composite_file",
* label = @Translation("Test composite element file"),
* description = @Translation("Provides a Webform composite file element for testing."),
* multiline = TRUE,
* composite = TRUE,
* states_wrapper = TRUE,
* )
*/
class WebformTestCompositeFile extends WebformCompositeBase {
/**
* {@inheritdoc}
*/
public function preview() {
return [];
}
}
Classes
Name | Description |
---|---|
WebformTestCompositeFile | Provides a 'webform_test_composite_file' element. |