function d8cache_drush_command in Drupal 8 Cache Backport 7
Implements hook_drush_command().
File
- ./
d8cache.drush.inc, line 11 - Drush hooks for d8cache.
Code
function d8cache_drush_command() {
$commands['invalidate-cache-tags'] = array(
'description' => 'Invalidates the specified cache tags.',
'aliases' => array(
'ict',
),
'arguments' => array(
'tags' => 'A list of tags seperated by ",".',
),
'examples' => array(
'drush ict rendered' => 'Invalidate the "rendered" cache tag.',
'drush ict node:1,node:2' => 'Invalidate the "node:1" and "node:2" cache tags.',
),
);
return $commands;
}