eca_views: Export and execute do not work for display variants
Problem/Motivation
The eca_views sub-module provides two actions, one for exporting a view result and another one for executing a query. This works when the view itself is being used with the default display, but not when the view has multiple display variants, and one specific variant should be used from ECA.
Steps to reproduce
Proposed resolution
This is most probably due to the execute implementation of both actions. The implementation currently does this:
$display->execute()
.. which is calling the execute on the display, but it looks like this is not enough to execute the query.
We can have a look at the function views_get_view_result which basically does what we want. We could copy contents from that function or maybe even directly use this function instead (however this is not so good in terms of dependency injection and stuff)
Remaining tasks
Fix the bug. I think this is also worth for a hotfix release.