Problem/Motivation

Upon saving operation, paragraphs type configuration form puts all available behavior plugins, including disabled ones, into the configuration.

This is annoying when working with configuration imports/exports.

Proposed resolution

We should filter out disabled behavior plugins on the paragraphs type configuration form.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

CommentFileSizeAuthor
#2 3121776-2.patch1.36 KBmbovan

Comments

mbovan created an issue. See original summary.

mbovan’s picture

Status: Active » Needs review
StatusFileSize
new1.36 KB

A patch that removes disabled behavior plugins.

I'm not sure about the update function, I think it's "safer" to not mess up with users paragraphs type configuration as it can result in filtering out behavior plugins (e.g. if there is no enabled flag).

Edit: If there is no enabled flag the plugin is disabled. :)

berdir’s picture

Status: Needs review » Fixed

Agreed, this doesn't need an update function. Nothing will change/break for those that have the disabled plugins still in there.

  • Berdir committed 18c078f on 8.x-1.x authored by mbovan
    Issue #3121776 by mbovan: Filter out disabled behavior plugins on the...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.