Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When creating a module with an embedded default view I wanted some custom theming; this required a custom template file. Looking at the Advanced help page "Using default views in your module" I saw the code I needed to get the job done by implementing hook_theme() in my module, but it didn't work.
After playing with the cide for a couple of hours I came up with something that works.
This patch modifies the Advanced Help file to add what I think is necessary for others to be able to get this accomplished.
Comment | File | Size | Author |
---|---|---|---|
views-adv_help_bug.patch | 2.06 KB | jrglasgow | |
Comments
Comment #1
dawehnerPatch works fine, and makes sense.
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted to all branches!