function FormTest::testFieldFormMultipleWidgetTypeAlterSingleValues

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

Tests hook_field_widget_multivalue_WIDGET_TYPE_form_alter() with single value elements.

File

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

Class

FormTest
Tests field form handling.

Namespace

Drupal\Tests\field\Functional

Code

public function testFieldFormMultipleWidgetTypeAlterSingleValues() {
    $this->widgetAlterTest('hook_field_widget_multivalue_WIDGET_TYPE_form_alter', 'test_field_widget_multiple_single_value');
}

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