Commit 4f1df3fb authored by catch's avatar catch

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
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment