Loading settings to configuration form

Created on 29 October 2024, 4 months ago

Problem/Motivation

Settings are not loaded into form

Steps to reproduce

1) Goto /admin/content/owlcarousel2/1/edit
2) change a settings
3) save
4) go again to setting and default value is here

<h3 id="summary-proposed-resolution">Proposed resolution</h3>

<strong>OwlCarousel2Form.php
</strong>
      $form['items_container']['items'] = $this->formItems($form, $form_state);
    }

-   $settings = $entity->getSettings();
+   $settings = $entity->getSettings()[0];

    $form['settings'] = [
      '#type' => 'details',
      '#title' => $this->t('Carousel Configuration'),
    ];

Remaining tasks

n/a

User interface changes

n/a

API changes

n/a

Data model changes

n/a

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇿Czech Republic tma0

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024