Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
content_translation_add_access()
, content_translation_edit_access()
and content_translation_delete_access()
are not being fired for me when adding, editing or deleting a translation
Proposed resolution
Remaining tasks
User interface changes
API changes
Related Issues
Beta phase evaluation
Issue category | Task |
---|---|
Unfrozen changes | Unfrozen because it only removes unused code |
Prioritized changes | The main goal of this issue is removing unused code. |
Comment | File | Size | Author |
---|---|---|---|
#3 | drupal8.content-translation-access.2099669-3.patch | 1.14 KB | stefan.r |
#1 | drupal8.content-translation-access.2099669-1.patch | 3.8 KB | stefan.r |
Comments
Comment #0.0
stefan.r CreditAttribution: stefan.r commentedUpdated issue summary.
Comment #1
stefan.r CreditAttribution: stefan.r commentedLet's see if tests pass if I remove these functions, since it appears this is already being dealt with in
ContentTranslationOverviewAccess
andContentTranslationManageAccessCheck
.Not touching
content_translation_view_access()
andcontent_translation_translate_access()
here as they are still being used elsewhere.Comment #2
jhedstromComment #3
stefan.r CreditAttribution: stefan.r commentedThe three hooks mentioned in the summary are gone already, only content_translation_access() was left.
Comment #4
jhedstromAdded beta phase evaluation.
Comment #5
jhedstromHmm, actually, I'm not sure this is allowed after beta--we might only be able to mark it as
@deprecated
.Comment #6
plachWhat #5 said :)
Comment #7
pwieck CreditAttribution: pwieck commentedComment #19
quietone CreditAttribution: quietone at PreviousNext commentedAll of the hooks mentioned in the Issue Summary are no longer in Core. The last one (see #3) was removed in #2405465: Remove dead and unnecessary procedural wrappers in content_translation module.
Therefore, closing as outdated.
Thanks!