You are here

public static function YamlFormTest::validate in YAML Form 8

Form API callback. Convert password confirm array to single value.

File

tests/modules/yamlform_test/src/Plugin/YamlFormElement/YamlFormTest.php, line 125

Class

YamlFormTest
Provides a 'yamlform_test' element.

Namespace

Drupal\yamlform_test\Plugin\YamlFormElement

Code

public static function validate(array &$element, FormStateInterface $form_state) {
  drupal_set_message(t('Invoked: Drupal\\yamlform_test\\Plugin\\YamlFormElement\\YamlFormTest::validate'));
}