public function ParagraphsConversionInterface::convert

Submit the values taken from the form to store the values.

This method is responsible for submitting the data and saving it in the paragraphs entity.

Parameters

array $settings: The conversion settings to be applied.

\Drupal\paragraphs\ParagraphInterface $original_paragraph: The original paragraph to convert.

array $converted_paragraphs: (optional) The array of converted paragraphs.

1 method overrides ParagraphsConversionInterface::convert()
ParagraphsConversionBase::convert in paragraphs/src/ParagraphsConversionBase.php
Submit the values taken from the form to store the values.

File

paragraphs/src/ParagraphsConversionInterface.php, line 64

Class

ParagraphsConversionInterface
Provides an interface defining a paragraph behavior.

Namespace

Drupal\paragraphs

Code

public function convert(array $settings, ParagraphInterface $original_paragraph, array $converted_paragraphs = NULL);