Currently Fieldable Panels Panes only invokes the base entity_insert, entity_update, and entity_presave. It does not also invoke an entity type specific hook like other modules do (Comments, Nodes, etc.) This can make hooking on FPP entity controller saves a bit bulky.
Patch incoming.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | add-2398301-1.patch | 1.73 KB | mglaman |
Comments
Comment #1
mglamanFollowed pattern found in other modules - entity specific hook, general entity hook.
Comment #2
damienmckennaI think this would be a good time to add a fieldable_panels_panes.api.php, and hook_hook_info().
Comment #3
mglaman:) Sounds like a proper improvement, and holiday present for the project.
Comment #4
damienmckennaLets move documentation into #2398759: Document all APIs.
Comment #5
damienmckennaCommitted. Thanks.
Comment #7
damienmckenna