You are here

context_active_trail.install in Context Active Trail 8

Same filename and directory in other branches
  1. 8.2 context_active_trail.install

Installation code for context_active_trail.

File

context_active_trail.install
View 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

Namesort descending Description
context_active_trail_install Implements hook_install().