diff --git a/core/lib/Drupal/Core/Path/Path.php b/core/lib/Drupal/Core/Path/Path.php index 92ad8c6..8bc3279 100644 --- a/core/lib/Drupal/Core/Path/Path.php +++ b/core/lib/Drupal/Core/Path/Path.php @@ -92,6 +92,7 @@ public function save($source, $alias, $langcode = Language::LANGCODE_NOT_SPECIFI $operation = 'update'; } if ($pid) { + // @todo Switch to using an event for this instead of a hook. $this->moduleHandler->invokeAll('path_' . $operation, array($fields)); return $fields; } @@ -136,6 +137,7 @@ public function delete($conditions) { $query->condition($field, $value); } $deleted = $query->execute(); + // @todo Switch to using an event for this instead of a hook. $this->moduleHandler->invokeAll('path_delete', array($path)); return $deleted; }