public function YamlFormElementInterface::getTestValue in YAML Form 8
Get test value for an element.
Parameters
array $element: An element.
\Drupal\yamlform\YamlFormInterface $yamlform: A form.
Return value
mixed A test value for an element.
1 method overrides YamlFormElementInterface::getTestValue()
- YamlFormElementBase::getTestValue in src/
YamlFormElementBase.php - Get test value for an element.
File
- src/
YamlFormElementInterface.php, line 368
Class
- YamlFormElementInterface
- Defines the interface for form elements.
Namespace
Drupal\yamlformCode
public function getTestValue(array $element, YamlFormInterface $yamlform);