function context_active_trail_install in Context Active Trail 8
Same name and namespace in other branches
- 8.2 context_active_trail.install \context_active_trail_install()
Implements hook_install().
File
- ./
context_active_trail.install, line 11 - Installation code for context_active_trail.
Code
function context_active_trail_install() {
// We may take over breadcrumbs that were previously in the render cache,
// and not tagged with anything useful for invalidating them. So we have to
// invalidate the whole render cache!
\Drupal::service('cache.render')
->invalidateAll();
}