context_active_trail.install in Context Active Trail 8
Same filename and directory in other branches
Installation code for context_active_trail.
File
context_active_trail.installView source
<?php
/**
* @file
* Installation code for context_active_trail.
*/
/**
* Implements hook_install().
*/
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();
}
Functions
Name | Description |
---|---|
context_active_trail_install | Implements hook_install(). |