Created
December 16, 2015 01:14
-
-
Save gl2748/955a9a5c560fc3d69b84 to your computer and use it in GitHub Desktop.
drush eval understanding...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drush eval 'foreach (views_get_all_views() as $view) { foreach ($view->display as $display => $data) { print "$view->name: $display\n"; }; }' | |
drush ev "print_r(array_keys(node_type_get_types()));" | |
iainm@iainm-e7450:~/rr001/robbreport/docroot$ drush ev "print_r(views_get_all_views());" | |
Array | |
( | |
[nodequeue_2] => view Object | |
( | |
[db_table] => views_view | |
[base_table] => node | |
[base_field] => nid | |
[name] => nodequeue_2 | |
[vid] => 1 | |
[description] => Display a list of all nodes in queue 'Home Left Column' | |
[tag] => nodequeue | |
[human_name] => Home Left Column | |
[core] => 0 | |
[api_version] => | |
[disabled] => 1 | |
[built] => | |
[executed] => | |
[editing] => | |
[args] => Array |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment