It would be nice to be able to enable or disable a view through a single method call to
HookUpdateDeployTools\Views::enable(array('view_name'));
HookUpdateDeployTools\Views::disable(array('view_name'));

Basis for the code would look like this.

https://www.drupal.org/node/1733808#comment-7254988

Comments

swirt created an issue. See original summary.

  • swirt committed 07b0eac on 7.x-1.x
    Issue #2720315 by swirt: Add method for enabling / disabling an existing...
swirt’s picture

Status: Active » Closed (fixed)

This has been added and released in version 7.x-1.16

https://www.drupal.org/node/2720425

Basis for the code comes from this comment https://www.drupal.org/node/820110#comment-9392229