You are here

public function YamlFormLocation::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 YamlFormCompositeBase::getTestValue

File

src/Plugin/YamlFormElement/YamlFormLocation.php, line 194

Class

YamlFormLocation
Provides an 'location' element.

Namespace

Drupal\yamlform\Plugin\YamlFormElement

Code

public function getTestValue(array $element, YamlFormInterface $yamlform) {

  // Use test values include in settings.
  return '';
}