Problem/Motivation
Parent issue: #2205673: [META] Remove all @deprecated functions marked "remove before 8.0"
Remove language_access_language_edit_or_delete() function definition. Function is deprecated and no longer being used. Also, find the issue/patch that removed the use of this function.
It looks like `language_access_language_edit_or_delete` was only ever used as a callback. Its use was removed by the following issues:
To find out which issue dealt with this particular piece of code I used:
git log -S language_access_language_edit_or_delete core
which tells git to look through the diff of each commit for a string.
Proposed resolution
Remove function from core/modules/language/language.module
Remaining tasks
Contributor tasks needed
| Task |
Novice task? |
Contributor instructions |
Complete? |
| Create a patch |
|
Instructions |
|
User interface changes
None.
API changes
None.
Comments
Comment #1
alimac commentedComment #2
alimac commentedPatch to remove the function.
Comment #4
alimac commentedLast patch, generated via PhpStorm did not apply. This one is generated by git diff.
Comment #5
alimac commentedComment #6
alimac commentedComment #7
alimac commentedRemoving #1471432: Rework language_list(), let people use more special languages from the list because that's where language_access_language_edit_or_delete was added, not removed.
Comment #8
marcingy commentedLooks good
Comment #9
alexpottCommitted 33ee4cf and pushed to 8.x. Thanks!