Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / pathauto / pathauto.module
index 67b3359ee5871e321fa8214a169f5cfd85b5bf37..ac7d9b0c0058f8866fa33a7f969c1722208d034a 100644 (file)
@@ -99,7 +99,7 @@ function pathauto_entity_update(EntityInterface $entity) {
 }
 
 /**
- * Implements hook_entity_update().
+ * Implements hook_entity_delete().
  */
 function pathauto_entity_delete(EntityInterface $entity) {
   if ($entity->hasLinkTemplate('canonical') && $entity instanceof ContentEntityInterface && $entity->hasField('path')) {