Summary
There is a problem with the crumbs_module_implements_alter() approach to splitting up the module file - first introduced in beta14.
The include files do not seem to be loaded at the correct time, leading to issues such as the breadcrumb not appearing: #2308037: Crumb disappeared (when displayed as block)
Steps to recreate
Install and enable beta13 of this module, set up a breadcrumb and configure the Crumbs block to appear somewhere.
Now upgrade to beta14 (or later) - the breadcrumb no longer appears.
Proposed solution
Remove the apparently unreliable approach of using hook_module_implements_alter() to split up the module file. It seems to create issues due to the weights of modules (see the discussion on the docs page for more information).
The attached patch removes this implementation and uses module_load_include instead - a simpler approach.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | crumbs-problems_with_implements_alter-2328535-1.patch | 18.86 KB | jkingsnorth |
Comments
Comment #1
jkingsnorth commentedPatch attached.
Comment #2
donquixote commentedFixed in 7.x-2.x-dev
http://cgit.drupalcode.org/crumbs/commit/?id=15b06bfe7fe1f0d9caf354e55d5...
I did not apply the full patch, only did a manual require_once.
See also http://drupal.stackexchange.com/a/129112/2974