TestFieldWidgetMultipleSingleValues.php

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

Namespace

Drupal\field_test\Plugin\Field\FieldWidget

File

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

View source
<?php

namespace Drupal\field_test\Plugin\Field\FieldWidget;


/**
 * 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().
 *
 * @see field_test_field_widget_info_alter()
 *
 * @FieldWidget(
 *   id = "test_field_widget_multiple_single_value",
 *   label = @Translation("Test widget - multiple - single value"),
 *   multiple_values = FALSE,
 *   weight = 10
 * )
 */
class TestFieldWidgetMultipleSingleValues extends TestFieldWidgetMultiple {

}

Classes

Title Deprecated Summary
TestFieldWidgetMultipleSingleValues Plugin implementation of the 'test_field_widget_multiple' widget.

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