Skip to content
Snippets Groups Projects
Commit 4f1df3fb authored by catch's avatar catch
Browse files

git commit -m 'Issue #2941945 by L-four, chiranjeeb2410: path.api.php...

git commit -m 'Issue #2941945 by L-four, chiranjeeb2410: path.api.php references to a non-existent PathInterface class and updated to AliasStorageInterface'
parent 77a1e091
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -15,9 +15,9 @@
*
* @param array $path
* The array structure is identical to that of the return value of
* \Drupal\Core\Path\PathInterface::save().
* \Drupal\Core\Path\AliasStorageInterface::save().
*
* @see \Drupal\Core\Path\PathInterface::save()
* @see \Drupal\Core\Path\AliasStorageInterface::save()
*/
function hook_path_insert($path) {
db_insert('mytable')
......@@ -33,9 +33,9 @@ function hook_path_insert($path) {
*
* @param array $path
* The array structure is identical to that of the return value of
* \Drupal\Core\Path\PathInterface::save().
* \Drupal\Core\Path\AliasStorageInterface::save().
*
* @see \Drupal\Core\Path\PathInterface::save()
* @see \Drupal\Core\Path\AliasStorageInterface::save()
*/
function hook_path_update($path) {
if ($path['alias'] != $path['original']['alias']) {
......@@ -51,9 +51,9 @@ function hook_path_update($path) {
*
* @param array $path
* The array structure is identical to that of the return value of
* \Drupal\Core\Path\PathInterface::save().
* \Drupal\Core\Path\AliasStorageInterface::save().
*
* @see \Drupal\Core\Path\PathInterface::delete()
* @see \Drupal\Core\Path\AliasStorageInterface::delete()
*/
function hook_path_delete($path) {
db_delete('mytable')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment