You are here

function purl_rebuild in Persistent URL 8

File

./purl.module, line 3

Code

function purl_rebuild() {
  $modifierIndex = \Drupal::service('purl.modifier_index');
  $modifierIndex
    ->deleteAll();
  $modifierIndex
    ->rebuild();
}