(Novice, my first issue, follow-up from #1832870: Only show source translation column if there are 2 or more source languages (more than n/a and the original language).).
Problem/Motivation
The file content_translation.pages.inc contains a function that is marked as deprecated, and which is to be moved to ContentTranslationController::overview().
The file content_translation.pages.inc contains a function that is marked as deprecated(content_translation_add_page()), and which is to be moved to ContentTranslationController::add()
The file content_translation.pages.inc contains a function that is marked as deprecated(content_translation_edit_page()), and which is to be moved to ContentTranslationController::edit()
Move function _content_translation_get_switch_links() from content_translation.pages.inc to ContentTranslationController::getSwitchLinks()
Move function content_translation_prepare_translation() from content_translation.pages.inc to ContentTranslationController::prepare()
Proposed resolution
Move the code.
Remaining tasks
- Move the code
User interface changes
No UI changes.
API changes
No API changes.
Follow-up from #1832870: Only show source translation column if there are 2 or more source languages (more than n/a and the original language)..