WebformTestElement.php in Webform 6.x
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\webform_test_element\ElementFile
tests/modules/webform_test_element/src/Element/WebformTestElement.phpView source
<?php
namespace Drupal\webform_test_element\Element;
use Drupal\Core\Render\Element\Textfield;
/**
* Provides a webform element for testing webform element plugin.
*
* @FormElement("webform_test_element")
*/
class WebformTestElement extends Textfield {
/**
* {@inheritdoc}
*/
public function preview() {
return [];
}
}
Classes
Name![]() |
Description |
---|---|
WebformTestElement | Provides a webform element for testing webform element plugin. |