class TestFieldWidgetMultipleSingleValues
Same name in other branches
- 9 core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidgetMultipleSingleValues.php \Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultipleSingleValues
- 10 core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidgetMultipleSingleValues.php \Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultipleSingleValues
- 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
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\Core\Field\PluginSettingsBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Field\PluginSettingsInterface, \Drupal\Component\Plugin\DependentPluginInterface
- class \Drupal\Core\Field\WidgetBase extends \Drupal\Core\Field\PluginSettingsBase implements \Drupal\Core\Field\WidgetInterface, \Drupal\Core\Plugin\ContainerFactoryPluginInterface uses \Drupal\Core\Field\AllowedTagsXssTrait
- class \Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultiple extends \Drupal\Core\Field\WidgetBase
- class \Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultipleSingleValues extends \Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultiple
- class \Drupal\field_test\Plugin\Field\FieldWidget\TestFieldWidgetMultiple extends \Drupal\Core\Field\WidgetBase
- class \Drupal\Core\Field\WidgetBase extends \Drupal\Core\Field\PluginSettingsBase implements \Drupal\Core\Field\WidgetInterface, \Drupal\Core\Plugin\ContainerFactoryPluginInterface uses \Drupal\Core\Field\AllowedTagsXssTrait
- class \Drupal\Core\Field\PluginSettingsBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Field\PluginSettingsInterface, \Drupal\Component\Plugin\DependentPluginInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
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\FieldWidgetView source
class TestFieldWidgetMultipleSingleValues extends TestFieldWidgetMultiple {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.