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
I created Paragraphs Aplenty (partly a port of a Drupal module) which provides a bunch of useful paragraph types. Feel free to use or be inspired for your own. The one thing I provides...
Your most useful type fields for Paragraphs
I use Paragraphs a lot too. A module I created quite recently and have just expanded the capabilities is Heading Style Field. You can select the style of the heading from No heading and No style...
Your most useful type fields for Paragraphs
Paragraphs are awesome. I always use them, when editors should be able to create appealing (landing) pages without ever messing with markup. Editors usually love that workflow. They...
Your most useful type fields for Paragraphs