Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download tar.gz
46.05 KB
MD5: fb836ece379e4a3941159b7904660270
SHA-1: 7d570cbb26f4f404b05aba02b4024f759887ae93
SHA-256: 25f2d414f70e3d7e73ed78aa417e2eab3207d63049621da8eff116bd126274f8
Download zip
64.52 KB
MD5: 8dbc10a32538545acb54aa050dd8c499
SHA-1: 78645198a343723fda8b953f51b50c8589b427c7
SHA-256: 816a9952b6e3b4614c918abbf1221a49890a1a88e5c095ea1f717a98aa33c496
Release notes
hook_update_deploy_tools 7.x-1.16 May 6, 2016
-----------------------------------------------
* Add method to enable/disable a View.
https://www.drupal.org/node/2720315
* Remove unused variables in Redirect class.
Use of the new Feature:
Add something like this to a hook_update_N in your custom deploy module.install
to enable some Views.
$views = array(
'some_view_machine_name',
'another_view_machine_name'
);
$message = HookUpdateDeployTools\Views::enable('$views');
return $message;
To disable some Views, it looks like this:
$views = array(
'some_view_machine_name',
'another_view_machine_name'
);
$message = HookUpdateDeployTools\Views::disable('$views');
return $message;