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
1 2 3 4 5 | 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.