Include view names in $vars for use in extensions
|Reported by:||beck24||Owned by:|
|Priority:||normal||Milestone:||Long Term Discussion|
Given that one file can be used to extend multiple views, it can be useful to know which specific view is being used at a given time.
The variable $view_orig can currently be used, but it's not documented or really considered good practice. If included in $vars it would be in line with existing practices, and allow developers additional flexibility with the views system.
Any other meta view info that could be useful could be included in the same way.
Change History (5)
comment:2 Changed 13 months ago by ewinslow
- Milestone changed from Needs Review to Long Term Discussion