Update to Drupal 8.0.5. For more information, see https://www.drupal.org/node/2679347

This commit is contained in:
Pantheon Automation 2016-03-02 12:40:24 -08:00 committed by Greg Anderson
parent 2a9f1f148d
commit fd3b12cf27
251 changed files with 5439 additions and 957 deletions

View file

@ -1412,22 +1412,24 @@ function system_block_view_system_main_block_alter(array &$build, BlockPluginInt
/**
* Implements hook_path_update().
*/
function system_path_update() {
\Drupal::service('path.alias_manager')->cacheClear();
function system_path_update($path) {
$alias_manager = \Drupal::service('path.alias_manager');
$alias_manager->cacheClear($path['source']);
$alias_manager->cacheClear($path['original']['source']);
}
/**
* Implements hook_path_insert().
*/
function system_path_insert() {
\Drupal::service('path.alias_manager')->cacheClear();
function system_path_insert($path) {
\Drupal::service('path.alias_manager')->cacheClear($path['source']);
}
/**
* Implements hook_path_delete().
*/
function system_path_delete($path) {
\Drupal::service('path.alias_manager')->cacheClear();
\Drupal::service('path.alias_manager')->cacheClear($path['source']);
}
/**