- Issue created by @igor mashevskyi
- Merge request !12Issue #3352344: Convert simple popup block to config entity → (Open) created by igor mashevskyi
- Issue was unassigned.
- Status changed to Needs review
almost 2 years ago 9:40am 5 April 2023 I suggest creating a new release (4x-dev) for this feature. Because it's a huge change of module that needs to be tested.
- First commit to issue fork.
- 🇺🇸United States tommyk
This is a great (huge!) patch. I added the incorporation of another patch 🐛 Warning: htmlspecialchars() expects parameter 1 to be string, array given RTBC which is RTBC.
I'm working on a custom module that contains default config for simple_popup_blocks with a dependency on my module. When using 8.x-3.x the config was not being removed when my module was uninstalled. With this patch I get the expected behavior of the config being removed.
Thanks!
- Status changed to Needs work
about 1 year ago 5:43pm 12 December 2023 - 🇺🇸United States tommyk
One issue that needs addressing is an upgrade path.
On a site with the existing 8.x-3.x module installed, when I patch the module with the code from this MR and run database updates, I see this error on the /admin/reports/status page:
Entity/field definitions
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.Simple popup blocks
- The Simple popup blocks entity type needs to be installed.
- Status changed to Needs review
about 1 year ago 8:38pm 12 December 2023 - 🇺🇸United States tommyk
I've added an update hook inspired by 💬 How to install a new entity type from class annotations in an update hook Active .
I'm not sure about the numbering.