You are here

public function WebformActions::getTestValues in Webform 6.x

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

File

src/Plugin/WebformElement/WebformActions.php, line 91

Class

WebformActions
Provides a 'webform_actions' 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;
}