public function Table::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.
Overrides YamlFormElementBase::getTestValue
File
- src/
Plugin/ YamlFormElement/ Table.php, line 94
Class
- Table
- Provides a 'table' element.
Namespace
Drupal\yamlform\Plugin\YamlFormElementCode
public function getTestValue(array $element, YamlFormInterface $yamlform) {
// Containers should never have values and therefore should never have
// a test value.
return NULL;
}