drush views-revertfor drush 6x
Revert overridden views to their default state. Make sure to backup first.
views-revert is a Drush command from the views project.views
views-revert has 1 alias/es:
views-revert accepts 1 argument/s:
views : A space delimited list of view names.
views-revert accepts 1 option/s:
--all : If provided, all views will be reverted.
Reverts the "archive" view.
drush vr archive
Reverts the "archive" and "frontpage" view.
drush rln archive frontpage
Will present you with a list of overridden views to choose from, and an option to revert all overridden views.
Will revert all overridden views.
drush vr --all
comments powered by Disqus