public function InlineParagraphsWidget::extractFormValues

File

paragraphs/src/Plugin/Field/FieldWidget/InlineParagraphsWidget.php, line 1368

Class

InlineParagraphsWidget
Plugin implementation of the 'entity_reference paragraphs' widget.

Namespace

Drupal\paragraphs\Plugin\Field\FieldWidget

Code

public function extractFormValues(FieldItemListInterface $items, array $form, FormStateInterface $form_state) {

  // Filter possible empty items.
  $items
    ->filterEmptyItems();
  return parent::extractFormValues($items, $form, $form_state);
}