Closed (fixed)
Project:
Drush Views
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
12 Jul 2011 at 18:09 UTC
Updated:
22 Apr 2012 at 16:51 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | views_list_enabled-1216644.patch | 2.15 KB | barrett |
Comments
Comment #1
barrett commentedHelps when I attach the patch
Comment #2
pescetti commentedThanks, implemented with a different approach: you can now specify --status=enabled or --status=disabled when listing views.