This is a follow up on the views module API discussion.
Quoting pbarnett regarding 'provider' element in $table used in hook_views_tables:
I did a string search over my entire site codebase, and found that there were several places where this field was used, but it's always set to 'internal'.
Furthermore, the field doesn't seem to be accessed anywhere; it's just set.
so I can't figure out what it means given that it's set but never referenced.
I thought this would be the best place to bring this to the module maintainers' attention. Could someone with more knowledge in the views module shed some light on this?
Is the 'provider' element in $table deprecated?
Comments
Comment #1
merlinofchaos commentedIt's actually a feature that was never implemented, and at this point never will be. It is now completely superfluous. You are correct.
Leaving this active in the hopes that someone will take it upon themselves to write a patch to just remove it all.
Comment #2
Vyoma commentedWas reading through the views 2 documentation over at G.D.O #10129.
In the section 'Upgrading from Views 1.x to Views 2.x: A developer's perspective' > 'Table Definiton' drewish mentions that we don't need to specify provider anymore.
Can we consider this issue closed with Views2 goes gold?
Comment #3
neclimdulIt sounds like this is more of a task that needs to be done.
Comment #4
merlinofchaos commentedI'd say we can mark this won't fix; it doesn't exist at all in Views 2 and there is no real need to remove it from Views 1 at this point.