Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!10073
Issue 2780511: Do no set lang on untranslatable menu links
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue 2780511: Do no set lang on untranslatable menu links
issue/drupal-2780511:2780511-menu-link-of
into
11.x
Overview
4
Commits
3
Pipelines
4
Changes
3
4 unresolved threads
Hide all comments
Open
Alec Smrekar
requested to merge
issue/drupal-2780511:2780511-menu-link-of
into
11.x
6 months ago
Overview
4
Commits
3
Pipelines
4
Changes
3
4 unresolved threads
Hide all comments
Expand
Closes
#2780511
0
0
Merge request reports
Compare
11.x
version 3
0dd45ceb
4 months ago
version 2
57209e0f
6 months ago
version 1
88740863
6 months ago
11.x (base)
and
latest version
latest version
d39828a0
3 commits,
4 months ago
version 3
0dd45ceb
3 commits,
4 months ago
version 2
57209e0f
2 commits,
6 months ago
version 1
88740863
1 commit,
6 months ago
3 files
+
144
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
core/modules/menu_ui/tests/src/Functional/MenuUiContentTranslationTest.php
+
2
−
0
Options
@@ -71,6 +71,8 @@ protected function setUp(): void {
// Enable translation for page nodes and menu link content.
static
::
enableBundleTranslation
(
'node'
,
'page'
);
\Drupal
::
service
(
'content_translation.manager'
)
Stephen Mustgrave
@smustgrave
2 months ago
Developer
Why is this needed?
Please
register
or
sign in
to reply
->
setEnabled
(
'menu_link_content'
,
'menu_link_content'
,
TRUE
);
static
::
enableBundleTranslation
(
'menu_link_content'
,
'menu_link_content'
);
}
Loading
Why is this needed?