You are here

public function FormTest::testFieldFormMultipleWidgetAlterSingleValues in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/field/tests/src/Functional/FormTest.php \Drupal\Tests\field\Functional\FormTest::testFieldFormMultipleWidgetAlterSingleValues()

Tests hook_field_widget_multivalue_form_alter() with single value elements.

File

core/modules/field/tests/src/Functional/FormTest.php, line 689

Class

FormTest
Tests field form handling.

Namespace

Drupal\Tests\field\Functional

Code

public function testFieldFormMultipleWidgetAlterSingleValues() {
  $this
    ->widgetAlterTest('hook_field_widget_multivalue_form_alter', 'test_field_widget_multiple_single_value');
}