function FormValuesTest::formModeProvider

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php \Drupal\FunctionalJavascriptTests\Ajax\FormValuesTest::formModeProvider()

Data provider for testSimpleAjaxFormValue.

File

core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php, line 120

Class

FormValuesTest
Tests that form values are properly delivered to AJAX callbacks.

Namespace

Drupal\FunctionalJavascriptTests\Ajax

Code

public static function formModeProvider() {
  return [
    [
      'direct',
    ],
    [
      'dialog',
    ],
    [
      'off canvas dialog',
    ],
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.