According to workbench_access.api.php
You module may place its hooks inside a file named module.workbench_access.inc for auto-loading by Drupal.
That does not work however. I get:
WD workbench_access: Failed to load required include file
Patch in comment.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | does_not_auto_load_the-1783208-8.patch | 1.03 KB | jibran |
Comments
Comment #1
berenddeboer commentedAutoloading is done by workbench_access_load_include and it says:
Here a patch so auto loading works.
Comment #2
berenddeboer commentedComment #4
agentrickardYou must patch against -dev.
Comment #5
berenddeboer commentedThanks agentrickard. Here the patch against dev.
Comment #7
agentrickardPatch failed. Also, you cannot remove the $ from the regex in file_scan_directory(), doing so causes other failures if you have backups files in your dir.
Comment #8
jibranHow about this?
Comment #9
agentrickardLooks fine.
Comment #10
jibranThanks! @agentrickard.
Comment #12
agentrickardCommitted!
Comment #14
agentrickard