You are here

public function Table::getTestValues in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElement/Table.php \Drupal\webform\Plugin\WebformElement\Table::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/Table.php, line 89

Class

Table
Provides a 'table' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

public function getTestValues(array $element, WebformInterface $webform, array $options = []) {

  // Containers should never have values and therefore should never have
  // a test value.
  return NULL;
}