Problem/Motivation
There is no way to save configuration on `Paragraphs library item settings` form.
Path: /admin/config/content/paragraphs_library_item
Steps to reproduce
- Enable any module that adds some configuration to this form (for example, Rabbit Hole).
- There is no `Save configuration` button on the form.
Proposed resolution
LibraryItemSettingsForm::buildForm should call parent method ConfigFormBase::buildForm.
User interface changes
Before (no settings):

Before (3rd-party settings available):

After:

| Comment | File | Size | Author |
|---|---|---|---|
| #7 | after patch - Save button.png | 135.99 KB | deepalij |
| #7 | before patch - with module.png | 131.62 KB | deepalij |
| #7 | before patch - no save button.png | 95.28 KB | deepalij |
Issue fork paragraphs-3213800
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
bohartTested locally on: Drupal 9.1.7 + Paragraphs 8.x-1.12.
Comment #4
matroskeen#3213798: Paragraphs Library support is landed, so now this form has a configuration if the Rabbit Hole submodule is enabled.
It might look confusing because we have "There are no settings yet." sentence and at the same time the "Rabbit Hole settings" fieldset is available.
I consider it as a minor point that shouldn't block this issue, therefore moving it to RTBC.
I'm adding screenshots to the issue summary to make it easier for maintainers to review.
Comment #6
taniachque commentedComment #7
deepalij commentedApplied patch (MR) #5 on Drupal version 10.1.x-dev
Patch applied cleanly.
Able to reproduce the issue.
The "Save configuration" button is visible now after applying the patch. Patch fixed the issue
Before patch

Before patch - with module

After patch

Can be moved to RTBC
RTBC+1
Comment #8
parisekWorking great thank you, moving to RTBC
Comment #11
berdirNot sure what settings rabbit hole adds here exactly and it's a bit weird to have a button when there are no settings, but fine I suppose.