Skip to content

Instantly share code, notes, and snippets.

@init90
Created September 1, 2016 14:58
Show Gist options
  • Save init90/da23e413684c3ac69a7c80d0213120a3 to your computer and use it in GitHub Desktop.
Save init90/da23e413684c3ac69a7c80d0213120a3 to your computer and use it in GitHub Desktop.
Drupal 8, clean cache by tag.
// Clean local task cache by tag.
\Drupal\Core\Cache\Cache::invalidateTags(['config:block.block.icareix_local_tasks']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment