system_path_update

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']);
}
doc_Drupal
2016-10-29 09:45:57
Comments
Leave a Comment

Please login to continue.