- 🇬🇧United Kingdom AaronMcHale Edinburgh, Scotland
We have a use-case for creating an additional "from library" paragraph type, and while it does work, mainly because we kept the machine name of the field the same, we had to copy some of the hook functions from paragraph_library.module and tweak them to reference the machine name of the additional from library paragraph type that we've created.
I agree it would be great if these are not hard-coded. Trying to think of a more extensible way that would support the need for more than one "from library" though. The issue we have, is the additional one exists to point to a different Entity Browser View, and making a separate paragraph type was the easiest way to achieve that.