public function ParagraphsBehaviorInterface::submitBehaviorForm

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

\Drupal\paragraphs\ParagraphInterface $paragraph: The paragraph.

array $form: An associative array containing the initial structure of the plugin form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

1 method overrides ParagraphsBehaviorInterface::submitBehaviorForm()
ParagraphsBehaviorBase::submitBehaviorForm in paragraphs/src/ParagraphsBehaviorBase.php
Submit the values taken from the form to store the values.

File

paragraphs/src/ParagraphsBehaviorInterface.php, line 68

Class

ParagraphsBehaviorInterface
Provides an interface defining a paragraph behavior.

Namespace

Drupal\paragraphs

Code

public function submitBehaviorForm(ParagraphInterface $paragraph, array &$form, FormStateInterface $form_state);