You are here

public function WebformElementInterface::getTestValues in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElementInterface.php \Drupal\webform\Plugin\WebformElementInterface::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.

1 method overrides WebformElementInterface::getTestValues()
WebformElementBase::getTestValues in src/Plugin/WebformElementBase.php
Get test values for an element.

File

src/Plugin/WebformElementInterface.php, line 649

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function getTestValues(array $element, WebformInterface $webform, array $options);