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

alimac’s picture

Issue summary: View changes
alimac’s picture

Status: Active » Needs review
StatusFileSize
new777 bytes

Patch to remove the function.

Status: Needs review » Needs work
alimac’s picture

Status: Needs work » Needs review
StatusFileSize
new748 bytes

Last patch, generated via PhpStorm did not apply. This one is generated by git diff.

alimac’s picture

Issue summary: View changes
alimac’s picture

Issue summary: View changes
alimac’s picture

Issue summary: View changes

Removing #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.

marcingy’s picture

Status: Needs review » Reviewed & tested by the community

Looks good

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 33ee4cf and pushed to 8.x. Thanks!

  • alexpott committed 33ee4cf on 8.x
    Issue #2299253 by alimac: Remove language_access_language_edit_or_delete...

Status: Fixed » Closed (fixed)

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