Projet

Général

Profil

Paste
Télécharger (526 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / views / help / drush.html @ 13755f8d

1
There are some Drush commands available for Views, initially added in <a href="http://drupal.org/node/1079178">Drush command to revert views</a>:
2

    
3
<ul>
4
<li>views-dev (vd) -  Setup the views settings to a more developer oriented value</li>
5
<li>views-revert (vr) - Revert overridden views to their default state. Make backups first!</li>
6
</ul>
7

    
8
Examples:
9
drush views-revert
10
[prompts the user with a list of overridden views to choose from, or to revert all]
11

    
12
drush views-revert archive myview2
13
[reverts the two specified views]