class TestFieldWidgetMultipleSingleValues

Same name in other branches
  1. 9 core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidgetMultipleSingleValues.php \Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultipleSingleValues
  2. 10 core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidgetMultipleSingleValues.php \Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultipleSingleValues
  3. 11.x core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidgetMultipleSingleValues.php \Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultipleSingleValues

Plugin implementation of the 'test_field_widget_multiple' widget.

The 'field_types' entry is left empty, and is populated through hook_field_widget_info_alter().

Plugin annotation


@FieldWidget(
  id = "test_field_widget_multiple_single_value",
  label = @Translation("Test widget - multiple - single value"),
  multiple_values = FALSE,
  weight = 10
)

Hierarchy

Expanded class hierarchy of TestFieldWidgetMultipleSingleValues

See also

field_test_field_widget_info_alter()

File

core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidgetMultipleSingleValues.php, line 20

Namespace

Drupal\field_test\Plugin\Field\FieldWidget
View source
class TestFieldWidgetMultipleSingleValues extends TestFieldWidgetMultiple {

}

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