In many places, views_fetch_plugin_names() is called without the base table passed in as the third param, making it impossible to filter the plugins by base table.
So specifying "base" works for style and row plugins, but not for display and exposed_form plugins, etc...

This is an important feature because it allows us to limit certain plugins to entity tables only (to be used in entityreference, entityreference_view_widget...)
Media also uses it for its style and display plugins.

CommentFileSizeAuthor
#2 1309082.patch3.21 KBdawehner
#1 1309082-respect-base.patch3.35 KBbojanz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bojanz’s picture

Status: Active » Needs review
FileSize
3.35 KB

Since this seems like a simple oversight, I'm attaching a patch that fixes it.

dawehner’s picture

FileSize
3.21 KB

Oh that's a great addition. Commited to 7.x
There is probably another issue with some of this changes anyway.

Here is a patch to 6.x-3.x

dawehner’s picture

Version: 7.x-3.x-dev » 6.x-3.x-dev

Back to 6.x

MustangGB’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)