Problem/Motivation

Based on Path aliases have been converted to revisionable entities:

hook_path_insert($path)
hook_path_update($path)
hook_path_delete($path)

Are converted to

hook_entity_insert(Drupal\Core\Entity\EntityInterface $entity)
hook_path_alias_insert(Drupal\path_alias\PathAliasInterface $path_alias)

hook_entity_update(Drupal\Core\Entity\EntityInterface $entity)
hook_path_alias_update(Drupal\path_alias\PathAliasInterface $path_alias)

hook_entity_delete(Drupal\Core\Entity\EntityInterface $entity)
hook_path_alias_delete(Drupal\path_alias\PathAliasInterface $path_alias)

Steps to reproduce

Proposed resolution

Convert deprecated hook implementations to hook_ENTITY_TYPE_.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

el7cosmos created an issue. See original summary.

el7cosmos’s picture

Issue summary: View changes
el7cosmos’s picture

Title: Remove deprecated path hooks implementations » Convert deprecated path hooks implementations
Issue summary: View changes

  • el7cosmos committed fc6b0cf on 3.x
    Issue #3240892 by el7cosmos: Convert deprecated path hooks...
el7cosmos’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.