Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2012 at 02:11 UTC
Updated:
30 Jul 2012 at 17:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
tim.plunkettSee attached.
Comment #2
dawehneroh i really like this feature!
I'm wonderding why there is no local variable for this function call.
This call is done for all views and displays
Comment #3
joachim commentedWill that get all the plugins types?
What about exposed forms, argument validators, and argument defaults (to name just a few)?
This is going to be a really cool feature -- but a complex one :)
Comment #4
tim.plunkettIt works for display, style, row, access, cache, exposed_form, pager, query, and localization plugin types. I have no idea if it works for display_extenders :)
Because argument validator and argument default plugins are configured per field, I didn't think it was reasonable to recurse that far.
Especially for the use case of features exports, generally they're provided by the same module that provides the field type being used, or they're custom and they're your problem anyway.
I moved views_fetch_plugin_data() outside the loop, even though its statically cached and Views loops over it in other places :)
Also switched to views_get_enabled_views() instead of checking manually.
Here's a screenshot of the page as well:

Comment #5
damiankloip commentedYep, this is a pretty awesome patch :) Just tested this out, works nicely. The only possible thing I would say is would it be better to have the plugin type first? As this is the alphabetical sort, it makes it easier on the eye to scan as the titles don't end up in order.
Comment #6
tim.plunkettI agree.
Comment #7
damiankloip commentedRTBC again in that case ;)
Comment #8
dawehnerCommitted to 7.x-3.x and 8.x-3.x