You are here

protected function GroupAddForm::copyFormValuesToEntity in Paragraphs Browser 8

Copies top-level form values to entity properties

This should not change existing entity properties that are not being edited by this form.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity the current form should operate upon.

array $form: A nested array of form elements comprising the form.

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

Overrides EntityForm::copyFormValuesToEntity

File

src/Form/GroupAddForm.php, line 130
Contains \Drupal\paragraphs_browser\Form\GroupAddForm.

Class

GroupAddForm
Class GroupAddForm.

Namespace

Drupal\paragraphs_browser\Form

Code

protected function copyFormValuesToEntity(EntityInterface $entity, array $form, FormStateInterface $form_state) {
}