public function BooleanBase::getTestValues in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformElement/BooleanBase.php \Drupal\webform\Plugin\WebformElement\BooleanBase::getTestValues()
Get test values for an element.
Parameters
array $element: An element.
\Drupal\webform\WebformInterface $webform: A webform.
array $options: Options used to generate a test value.
Return value
mixed A test value for an element.
Overrides WebformElementBase::getTestValues
File
- src/
Plugin/ WebformElement/ BooleanBase.php, line 62
Class
- BooleanBase
- Provides a base 'boolean' class.
Namespace
Drupal\webform\Plugin\WebformElementCode
public function getTestValues(array $element, WebformInterface $webform, array $options = []) {
return TRUE;
}