- last update
over 1 year ago 55 pass - 🇬🇧United Kingdom fredcurl
Hi all,
I have a patch for the newer versions of layout paragraphs as we required a solution, works with the 1.0 hook as we were using before. It was something I put together to get it working. Hoping it might breathe some new life into this thread!
- 🇳🇿New Zealand john pitcairn
I wonder whether we should be dispatching events rather than alter hooks. Event subscribers are more flexible than alter hooks if you need to run before or after another module's implementation, more self-documenting, and more IDE-friendly.
- 🇮🇪Ireland frankdesign
Hi, tried patch at #31. Patch applied no problem but I still can't set a default layout paragraph. When I try to set one I get the error:
Warning: array_flip(): Can only flip string and integer values, entry skipped in Drupal\Core\Entity\ContentEntityStorageBase->loadMultipleRevisions() (line 667 of core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php).
Any ideas?