You are here

function decoupled_router_path_delete in Decoupled Router 8

Same name and namespace in other branches
  1. 2.x decoupled_router.module \decoupled_router_path_delete()

Implements hook_path_delete().

File

./decoupled_router.module, line 29
Module implementation file.

Code

function decoupled_router_path_delete($path) {
  \Drupal::service('decoupled_router.cache_invalidation')
    ->invalidateByPath($path);
}