function varnish_drush_purge in Varnish 6
Same name and namespace in other branches
- 7 varnish.drush.inc \varnish_drush_purge()
Callback for varnish-purge drush command.
Parameters
string $paths a space separated list of paths.:
1 string reference to 'varnish_drush_purge'
- varnish_drush_command in ./
varnish.drush.inc - Implementation of hook_drush_command().
File
- ./
varnish.drush.inc, line 36 - This file contains drush integration for the varnish module.
Code
function varnish_drush_purge($paths) {
$paths = explode(' ', $paths);
varnish_expire_cache($paths);
}