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.
Currently, the dom_id is being set in template_preprocess_views_view()
, which means that functions like hook_views_pre_build()
have no access to it.
Originally I thought it should be set in an implementation of hook_views_pre_view(), but that would prevent zzz_views_pre_view()
from having a chance to set it first.
Comment | File | Size | Author |
---|---|---|---|
#1 | views-1460418-1.patch | 1.11 KB | tim.plunkett |
Comments
Comment #1
tim.plunkettSee attached.
Comment #2
dawehnerThe patch looks fine.
Comment #3
dawehnerCommitted to 7.x-3.x
I think it would be worth to backport to 6.x-3.x
Comment #4
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe Drupal 6 branch is no longer supported, please check with the D6LTS project if you need further support. For more information as to why this issue was closed, please see issue #3030347: Plan to clean process issue queue