The particular use to which I'm putting drush_views requires that I be able to list only enabled views. The attached patch adds a command (views-list-enabled) which does that by passing a parameter to the drush_views_list() function and removing views where disabled is TRUE.

CommentFileSizeAuthor
#1 views_list_enabled-1216644.patch2.15 KBbarrett

Comments

barrett’s picture

StatusFileSize
new2.15 KB

Helps when I attach the patch

pescetti’s picture

Assigned: Unassigned » pescetti
Status: Needs review » Fixed

Thanks, implemented with a different approach: you can now specify --status=enabled or --status=disabled when listing views.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.