protected WidgetBase::formSingleElement(FieldItemListInterface $items, $delta, array $element, array &$form, FormStateInterface $form_state)
Generates the form element for a single copy of the widget.
File
core/lib/Drupal/Core/Field/WidgetBase.php, line 313
Class
WidgetBase Base class for 'Field widget' plugin implementations.
Namespace
Drupal\Core\Field
Code
protected function formSingleElement(FieldItemListInterface $items, $delta, array $element, array &$form, FormStateInter