system_path_update($path)
Implements hook_path_update().
File
- core/modules/system/system.module, line 1429
- Configuration system that lets administrators modify the workings of the site.
Code
function system_path_update($path) {
$alias_manager = \Drupal::service('path.alias_manager');
$alias_manager->cacheClear($path['source']);
$alias_manager->cacheClear($path['original']['source']);
}
Please login to continue.