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.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1309082.patch | 3.21 KB | dawehner |
#1 | 1309082-respect-base.patch | 3.35 KB | bojanz |
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedSince this seems like a simple oversight, I'm attaching a patch that fixes it.
Comment #2
dawehnerOh 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
Comment #3
dawehnerBack to 6.x
Comment #4
MustangGB CreditAttribution: MustangGB commented