Describe your issue or idea
This is a follow-up from https://github.com/backdrop/backdrop-issues/issues/2954 where we are discussing how to better organize our code.
modules must implement
hook_hook_info()to allow using a separate file, like Token, Path and Redirect does.
These are the tools I recommend we use hook_hook_info() on
- [ ] Block (class) => includes/modulename.block.class.inc
- [ ] Comment - hook_comment_*() => modulename.comment.inc
- [ ] Files - hook_file_*() => modulename.file.inc
- [ ] Menu - hook_menu_*() => modulename.menu.inc
- [ ] Menu - hook_menu_link_*() => modulename.menu_link.inc
- [ ] Node - hook_node_*() => modulename.node.inc
- [ ] Taxonomy - hook_taxonomy_term_*() => modulename.taxonomy_term.inc
- [ ] Taxonomy - hook_taxonomy_vocabulary_*() => modulename.taxonomy_vocabulary.inc
- [ ] User - hook_user_*() => modulename.user.inc
GitHub Issue #:
3024
Recent comments
As I work through things I flush the caches after every change I make. As far as I can tell I have the custom module in the correct place (/modules/custom/fix_zero_search) and the file...
custom module not showing up in modules list
If you haven't already, flush all the caches. If it is in the modules folder whether directly or in a custom folder it will show up. If not, something else is wrong with your site; check...
custom module not showing up in modules list
Awful idea! That's not how modules get installed! The number in db indicates the installed state and schema version. You're not supposed to fiddle in the database directly. There's an...
custom module not showing up in modules list