Documentation recommends using Closures in hook_libraries_info() - https://www.drupal.org/node/1976234
But current code produces fatal while trying this because LibrariesFinderPlugin::buildLibrariesXautoloadInfo() contains serialize().
Attached patch resolves the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2681577_serialie_closure_fatal_2.patch | 533 bytes | dmitry.kazberovich |
Comments
Comment #2
dmitry.kazberovichComment #3
donquixote commentedOops.. what the hell is this serialize() even doing there?
Looks like a leftover from something. Should be safe to remove.
I wonder if we can unit-test this stuff.
Comment #5
donquixote commentedFixed in 7.x-5.6 (wait for packaging script)
Comment #6
donquixote commented