Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
micro_menu
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
5
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
micro_menu
Merge requests
!4
fix: micro site menu language
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
fix: micro site menu language
issue/micro_menu-3470737:3470737-use-the-microsite
into
8.x-1.x
Overview
0
Commits
1
Pipelines
1
Changes
1
Open
Gonçalo Mateus
requested to merge
issue/micro_menu-3470737:3470737-use-the-microsite
into
8.x-1.x
3 months ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
Closes
#3470737
👍
0
👎
0
Merge request reports
Compare
8.x-1.x
8.x-1.x (HEAD)
and
latest version
latest version
b4e090ac
1 commit,
3 months ago
1 file
+
1
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
micro_menu.module
+
1
−
0
Options
@@ -54,6 +54,7 @@ function micro_menu_site_insert(EntityInterface $entity) {
'description'
=>
t
(
'The menu for the site @label (id: @id)'
,
[
'@label'
=>
$entity
->
label
(),
'@id'
=>
$entity
->
id
()]),
'locked'
=>
TRUE
,
'third_party_settings'
=>
[
'micro_menu'
=>
[
'site_id'
=>
$entity
->
id
()]],
'langcode'
=>
$entity
->
language
()
->
getId
(),
])
->
save
();
$menu
=
Menu
::
load
(
'site-'
.
$entity
->
id
());
Loading