Problem/Motivation
Once path aliases are converted to entities (#2336597: Convert path aliases to full featured entities), we should deprecate the existing hooks hook_path_insert(), hook_path_update and hook_path_delete() in favor of generic entity hooks.
Proposed resolution
Use \Drupal\Core\Extension\ModuleHandlerInterface::invokeAllDeprecated() in \Drupal\Core\Path\PathAliasStorage::invokeHook() and replace all usages of these hooks.
Remaining tasks
All the above.
User interface changes
Nope.
API changes
Nope.
Data model changes
Nope.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3011003-3-combined.patch | 90.44 KB | amateescu |
| #2 | 3011003-combined.patch | 90.74 KB | amateescu |
| #2 | 3011003-for-review.patch | 10.17 KB | amateescu |
Comments
Comment #2
amateescu commentedThis should do it.
Comment #3
amateescu commentedRerolled the combined patch, the "for review" one is the same.
Comment #4
amateescu commentedThis patch was folded into #2336597-92: Convert path aliases to full featured entities.
Comment #5
amateescu commented