- Issue created by @abramm
The 'en' language is hardcoded in the path alias creation code; this way, Tombstones wouldn't work correctly in multi-language environments.
Check the \Drupal\tombstones\TombstonesService::createTombstoneForDeletedNode()
:
\Drupal::service('path.alias_storage')->save("/node/" . $tombstone->id(), $tombstone_metadata['path'], "en");
Note the path.alias_storage
service usage is being handled in
π
You have requested a non-existent service "path.alias_storage"
Needs work
, the code above is for reference only.
Retrieve all node translations before removal, make sure to create aliases for all of them.
Implement the fix.
Tombstones would be working for non-English pages as well.
None.
None.
Active
1.0
Code