How to get a list of all displays of every view? I'm doing some test and I'm trying to get a list of all the displays of every view to do the test things in every display of every view, but I don't have any idea how to do it.
When using views_get_all_views() I only get the first display of every view, but what I want is every view and everything inside that view.
Please find the following drush one-liner to list all the views including all display names:

drush eval 'foreach (views_get_all_views() as $view) { foreach ($view-&gt;display as $display =&gt; $data) { print "$view-&gt;name: $display\n"; }; }'


Modify the code as required.