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
This post explains how to do this in Drupal 7. In Backdrop, File Entity is already part of core. You will need to download and install module Views Field View. https://drupal.stackexchange...
I Need to Display an Image in a View that was Uploaded to a Webform
After alot of trials, i have done the obvious and translated the whole block for different languages with each property condition as follows: ->propertyCondition('langcode', 'en...
How to get the current page language?
Thanks so much! It's working now: I was able to transfer the docroot files to the containing directory without the need for a second database or any manual configuration export/import/sync...
Backup & Migrate Config: There was a problem creating field...database table with the name already exists.