function views_revert_drush_command in Views (for Drupal 7) 6.2
Implement hook_drush_command().
File
- ./
views_revert.drush.inc, line 20 - views-revert - Drush command to revert views overridden in the system.
Code
function views_revert_drush_command() {
$items = array();
$items['views-revert'] = array(
'callback' => 'views_revert_views',
'drupal dependencies' => array(
'views',
),
'description' => dt('Revert overridden views to their default state. Make sure to backup first.'),
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_FULL,
'aliases' => array(
'vr',
),
);
return $items;
}