This patch adds the option to delete a view using drush.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

msti created an issue. See original summary.

msti’s picture

Issue summary: View changes
FileSize
1.82 KB
Chris Matthews’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

The 3 year old patch in #2 to views.drush.inc does not apply to the latest views 7.x-3.x-dev and if still relevant needs to be rerolled.

Checking patch drush/views.drush.inc...
error: while searching for:
      return dt('Enable the specified views. Follow the command with a space delimited list of view names');
    case 'drush:views-disable':
      return dt('Disable the specified views. Follow the command with a space delimited list of view names');
  }
}

error: patch failed: drush/views.drush.inc:24
error: drush/views.drush.inc: patch does not apply
Andrew Answer’s picture

Status: Needs work » Needs review
Issue tags: -Needs reroll
FileSize
1.71 KB

Patch rerolled.

DamienMcKenna’s picture

I'm not sure of the benefits of this? Is it that often that you need to delete a Views definition that a Drush command would speed it up?

msti’s picture

wow, almost 4 years since this patch was created. As far as I remember this patch was used for automating deployments, where features was not an option.