Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2010 at 16:17 UTC
Updated:
26 Jul 2017 at 10:56 UTC
Jump to comment: Most recent
Comments
Comment #1
dawehnerlooks fine
Comment #2
hefox commentedA note on the documentation is that hook and several others do not mention what files they could be put in and auto loaded. This hook works in the module.views.inc (and likely the .views_default.inc for this one). hook_views_pre_render is another that can work in .views.inc.
Comment #3
dwwAs per an IRC debugging session with Earl, if you do anything fancy in here, you also need to call $view->destroy(). I'll try to give this some love based on my newfound knowledge of how this all works... Stay tuned.
Comment #4
esmerel commentedI'm gonna bet dww doesn't have much time to work on this. I'm going to unassign it, and if anyone can/will take it up, that would be useful :)
Comment #5
hefox commentedThere was actually a duplicate of this, #910990: Improve documentation of hook_views_default_views_alter() example that got committed (basically same patch as first I think).
However, the new understanding of views destroy likely should be added. (was trying to remember about views->destory and found the other issue first)
Comment #6
mustanggb commented